Bug? Error Parsing code 0.19

maxware

Well-Known Member
Licensed User
Longtime User
Hello Erel
After an update of my project
when I compile I get this error but do not know what line you can 'report
thank you Mamo

google traslator

Ciao Erel
Dopo un aggiornamento del mio progetto
quando compilo mi esce questo errore ma non so a che riga si puo' riferire
ti ringrazio Mamo

errore.jpg
 

maxware

Well-Known Member
Licensed User
Longtime User
found
and ' ruined the file fxml design

com.oracle.javafx.authoring.persist.FXMLDocument $ FxmlParseException : Failed to load FXML file
at com.oracle.javafx.authoring.persist.FXMLDocument.makeParseException ( FXMLDocument.java : 400)
at com.oracle.javafx.authoring.persist.FXMLDocument.load ( FXMLDocument.java : 311 )
at com.oracle.javafx.authoring.persist.FXMLDocument.checkLayout ( FXMLDocument.java : 239 )
at com.oracle.javafx.authoring.persist.FXMLDocument.checkLayout ( FXMLDocument.java : 224)
at com.oracle.javafx.authoring.Project.forFxml ( Project.java : 835)
at com.oracle.javafx.authoring.Project.forFxml ( Project.java : 807 )
at com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout ( DesignerTool.java : 197)
at com.oracle.javafx.authoring.DesignerTool.loadFXMLLayout ( DesignerTool.java : 185)
at com.oracle.javafx.authoring.DesignerTool.commonInit ( DesignerTool.java : 513)
at com.oracle.javafx.authoring.DesignerTool.initFromRemote ( DesignerTool.java : 436 )
at com.oracle.javafx.authoring.mbeans.SceneBuilderMgt $ 1.Run ( SceneBuilderMgt.java : 31)
com.sun.javafx.application.PlatformImpl at $ 4 $ 1.Run ( PlatformImpl.java : 179)
com.sun.javafx.application.PlatformImpl at $ 4 $ 1.Run ( PlatformImpl.java : 176)
at java.security.AccessController.doPrivileged ( Native Method )
com.sun.javafx.application.PlatformImpl at $ 4.run ( PlatformImpl.java : 176)
at com.sun.glass.ui.InvokeLaterDispatcher $ Future.run ( InvokeLaterDispatcher.java : 76 )
at com.sun.glass.ui.win.WinApplication._runLoop ( Native Method )
com.sun.glass.ui.win.WinApplication.access at $ 100 ( WinApplication.java : 17)
com.sun.glass.ui.win.WinApplication at $ 3 $ 1.Run ( WinApplication.java : 67)
at java.lang.Thread.run ( Thread.java : 724)
Caused by: javafx.fxml.LoadException : javax.xml.stream.XMLStreamException : ParseError at [ row, col ]: [ 1,1]
Message : Content is not allowed in prolog.
at javafx.fxml.FXMLLoader.load ( FXMLLoader.java : 2180 )
com.oracle.javafx.authoring.persist.FXMLDocument at $ 2.Call ( FXMLDocument.java : 301 )
at com.oracle.javafx.authoring.util.Utils.withFXMLDefaultClassLoader ( Utils.java : 2216 )
at com.oracle.javafx.authoring.persist.FXMLDocument.load ( FXMLDocument.java : 298)
... 18 blackberries
Caused by: javax.xml.stream.XMLStreamException : ParseError at [ row, col ]: [ 1,1]
Message : Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next ( XMLStreamReaderImpl.java : 598)
at javax.xml.stream.util.StreamReaderDelegate.next ( StreamReaderDelegate.java : 88)
at javafx.fxml.FXMLLoader.load ( FXMLLoader.java : 2150 )
... 21 blackberries
 

LucaMs

Expert
Licensed User
Longtime User
Uhm... sarà tosta trovare la soluzione... oltretutto, dice che il codice del carattere è 0 !
Dico una cavolata, ma prova a modificare il sorgente; magari c'è qualche carattere strano (non visibile/stampabile) proprio all'inizio.

Ecco, mentre scrivevo :)
 

maxware

Well-Known Member
Licensed User
Longtime User
google traslator
Hello Erel
you are all ok
I was' spoiled the file fxml
with an old version of my project, the error did not appeared
I tried what I had put it back and it was just a new designer Pandocumenti.fxml
if I open it I get this error
errore_fxml.jpg

I did it again to new and everything ok
likely an object with properties' wrong?
if you need send the file fxml
 
Top