nbscala
nbscala copied to clipboard
NullPointerException at org.netbeans.modules.scala.core.ScalaParserResult
Stacktrace:
java.lang.NullPointerException
at org.netbeans.modules.scala.core.ScalaParserResult.
See https://netbeans.org/bugzilla/show_bug.cgi?id=240033 for details
I submitted one a NetBeans report also linked as a duplicate to the bug above. In my case, I suspect it is triggered by the @native annotation in one of my sources. When I comment out the annotation the exception seems to not appear (at least not immediately). Of course, I do need the annotation :)
Has this been resolved. It makes Netbeans pretty much unusable, now forcing me to use IDEA..
I looked into this and this issue should be closed - the bug was addressed with commit 295a1e88260d33a25436130604c3757e4076291e . I also tried to reproduce it using the note from @cminter (by using a scala class with a @native annotation) and the NPE isn't thrown.
In addition, this is a pretty old issue, so if it was still active, we would be getting more reports in the first place.