This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
if user types '#' char as the first char in property value, the following exception appears: javax.swing.text.BadLocationException: Invalid offset=-1 not within <0, 7540> at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1390) at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1385) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:157) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:140) at org.netbeans.modules.javafx.fxd.composer.editor.SyntaxErrorsHighlightingTask.getPosition(SyntaxErrorsHighlightingTask.java:108) at org.netbeans.modules.javafx.fxd.composer.editor.SyntaxErrorsHighlightingTask.run(SyntaxErrorsHighlightingTask.java:81) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:654) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [catch] at java.lang.Thread.run(Thread.java:619)
http://hg.netbeans.org/javafx/rev/e316fc83e58a workaround lack of error offset data for reference parsing error. Should be fixed in FXDReference.parse in the next fx sdk