Bug 423309 - [FXML Compiler] <fx:define> causes SAXException
Summary: [FXML Compiler] <fx:define> causes SAXException
Status: ASSIGNED
Alias: None
Product: Efxclipse
Classification: Technology
Component: Tooling (show other bugs)
Version: 1.0.0   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Thomas Schindl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 08:39 EST by Sebastian Rheinnecker CLA
Modified: 2013-12-09 12:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Rheinnecker CLA 2013-12-05 08:39:04 EST
seems to be treated as a property named "define" on the class

stacktrace:

[fxml-compiler] Compiling /Users/sebastian/Documents/workspace/FXTestApp/robovm-build/build/src/complete/simpleeditor/SimpleEditor.fxml
[fxml-compiler] org.xml.sax.SAXException: javafx.scene.layout.BorderPane.getDefine()
[fxml-compiler] java.lang.NoSuchMethodException: javafx.scene.layout.BorderPane.getDefine()
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1261)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
[fxml-compiler]    at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.FXGraphCompiler.compileFXML(FXGraphCompiler.java:98)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.FXGraphCompiler.compile(FXGraphCompiler.java:138)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.ant.CompilerTask$1.call(CompilerTask.java:85)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.ant.CompilerTask$FileFinder.visitFile(CompilerTask.java:109)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.ant.CompilerTask$FileFinder.visitFile(CompilerTask.java:1)
[fxml-compiler]    at java.nio.file.Files.walkFileTree(Files.java:2667)
[fxml-compiler]    at java.nio.file.Files.walkFileTree(Files.java:2739)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.ant.CompilerTask.execute(CompilerTask.java:79)
[fxml-compiler]    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[fxml-compiler]    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[fxml-compiler]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[fxml-compiler]    at java.lang.reflect.Method.invoke(Method.java:483)
[fxml-compiler]    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[fxml-compiler]    at org.apache.tools.ant.Task.perform(Task.java:348)
[fxml-compiler]    at org.apache.tools.ant.Target.execute(Target.java:392)
[fxml-compiler]    at org.apache.tools.ant.Target.performTasks(Target.java:413)
[fxml-compiler]    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[fxml-compiler]    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[fxml-compiler]    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[fxml-compiler]    at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[fxml-compiler]    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[fxml-compiler]    at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424)
[fxml-compiler]    at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138)
[fxml-compiler] Caused by: java.lang.NoSuchMethodException: javafx.scene.layout.BorderPane.getDefine()
[fxml-compiler]    at java.lang.Class.getMethod(Class.java:1765)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.ReflectionHelper.getValueType(ReflectionHelper.java:404)
[fxml-compiler]    at org.eclipse.fx.ide.fxml.compiler.FXMLSaxHandler.startElement(FXMLSaxHandler.java:168)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:378)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
[fxml-compiler]    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
[fxml-compiler]    ... 26 more