java.lang.NullPointerException
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.addBuiltinsToCache(BrightScriptModelUtils.java:121)
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.createDefaultBuiltInsCache(BrightScriptModelUtils.java:90)
at com.roku.brightscript.ide.eclipse.core.model.parsers.BrightScriptSourceElementParser.parseSourceModule(BrightScriptSourceElementParser.java:78)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
"TheEndless" wrote:
I just installed on my linux box and am getting this error:java.lang.NullPointerException
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.addBuiltinsToCache(BrightScriptModelUtils.java:121)
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.createDefaultBuiltInsCache(BrightScriptModelUtils.java:90)
at com.roku.brightscript.ide.eclipse.core.model.parsers.BrightScriptSourceElementParser.parseSourceModule(BrightScriptSourceElementParser.java:78)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
I found an old post from last year where you fixed what looked like the same error. Did that fix get reverted, or am I doing something wrong?
"malloys" wrote:"TheEndless" wrote:
I just installed on my linux box and am getting this error:java.lang.NullPointerException
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.addBuiltinsToCache(BrightScriptModelUtils.java:121)
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.createDefaultBuiltInsCache(BrightScriptModelUtils.java:90)
at com.roku.brightscript.ide.eclipse.core.model.parsers.BrightScriptSourceElementParser.parseSourceModule(BrightScriptSourceElementParser.java:78)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
I found an old post from last year where you fixed what looked like the same error. Did that fix get reverted, or am I doing something wrong?
That fix hasn't been reverted, and the fact that you're seeing a nullpointer means it could possibly be the aforementioned java memory management issue.
Have you verified that it's not that?
Please see this post: http://forums.roku.com/viewtopic.php?f=34&t=61093#p400241
Cheers
64-bit Eclipse (Kepler), 64-bit Java (1.70_21), 1024 memory, Ubuntu (if that matters)... still no luck.
It looks pretty much like the exact same stack trace posted here: viewtopic.php?f=34&t=51738&p=362104#p362104
I've tried installing a 32-bit version of Eclipse, but I can't get it to run under the 64-bit JVM.
"malloys" wrote:64-bit Eclipse (Kepler), 64-bit Java (1.70_21), 1024 memory, Ubuntu (if that matters)... still no luck.
I'll see if I can reproduce it in debugging mode under Ubuntu and track it back to the root cause.
I need 3 pieces of info from you to get started:
1) Which specific release of Ubuntu are you running?
2) Your eclipse config info (this is a bit large, so PM me with it). Get this from inside eclipse: Help->About Eclipse->Installation Details->Configuration->Copy to Clipboard
3) The output of the command "java -version". Be sure you are running the installation of java that your eclipse instance is using when doing so.It looks pretty much like the exact same stack trace posted here: viewtopic.php?f=34&t=51738&p=362104#p362104
Yep, looks like it, but I've already confirmed that it's not the same issue - the fix for that bug is still in place in the current code. Unless you managed to install an older version of the plugin from somewhere, the cause is different.I've tried installing a 32-bit version of Eclipse, but I can't get it to run under the 64-bit JVM.
You wouldn't be able to - 32-bit eclipse runs with 32-bit java, 64-bit eclipse runs with 64-bit java (and on 64-bit Ubuntu, you'd need the ia32-libs package installed to run anything 32-bit).
However... That recommendation is only applicable after you've upgraded java to the latest version, and then explicitly see java "out-of-memory" errors in eclipse (where other pseudo-random exceptions were shown before the java upgrade). Your version of java is a little out of date (the latest is 1.7 update 25), but it's close enough that it has the memory management bugfix in it, so apparently the memory management bug is not the cause in your case.
So, send me the info requested above, and I'll see what I can find.
Cheers
"TheEndless" wrote:
I just installed on my linux box and am getting this error:java.lang.NullPointerException
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.addBuiltinsToCache(BrightScriptModelUtils.java:121)
at com.roku.brightscript.ide.eclipse.core.model.BrightScriptModelUtils.createDefaultBuiltInsCache(BrightScriptModelUtils.java:90)
at com.roku.brightscript.ide.eclipse.core.model.parsers.BrightScriptSourceElementParser.parseSourceModule(BrightScriptSourceElementParser.java:78)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45)
at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764)
I found an old post from last year where you fixed what looked like the same error. Did that fix get reverted, or am I doing something wrong?
"dmitskevich" wrote:
I've got recently Roku 3. Eclipse plugin fails to download package from it. The error is:
<snip/>
"dmitskevich" wrote:
Could you please also update http://sdkdocs.roku.com/display/sdkdoc/Eclipse+Plugin+Guide with release info. Thanks in advance!