NullPointerException with Eclipse 3.7 and Ext 4.x jar

Bug Reports and Fixes
Post Reply
cafebabe
Posts: 14
Joined: Tue Mar 31, 2009 9:31 pm

NullPointerException with Eclipse 3.7 and Ext 4.x jar

Post by cafebabe » Tue Oct 04, 2011 10:53 pm

using the custom com.spket.js_1.6.18.jar for Ext 4.x support after installing spket in eclipse 3.7 causes a null pointer exception. Below is the stack trace

Message: An internal error occurred during: "Loading Context".

java.lang.NullPointerException
at com.spket.js.profile.ProfileLoader.getFiles3(Unknown Source)
at com.spket.js.profile.ProfileLoader.load(Unknown Source)
at com.spket.js.profile.ProfileLoader.load(Unknown Source)
at com.spket.js.profile.ProfileContext.loadClasses(Unknown Source)
at com.spket.js.model.Context$2.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

If I use the jar that comes as part of the install via the update url, it works fine.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Re: NullPointerException with Eclipse 3.7 and Ext 4.x jar

Post by eric_suen » Wed Oct 05, 2011 4:31 am

getFiles3 is loading jsb3, your Ext 4.x use jsb3? could you give more information?

or try run eclipse once use

Code: Select all

eclipse -clean

cafebabe
Posts: 14
Joined: Tue Mar 31, 2009 9:31 pm

Re: NullPointerException with Eclipse 3.7 and Ext 4.x jar

Post by cafebabe » Wed Oct 05, 2011 4:21 pm

must be a matter of some error checking that is missing. It turns out that the null pointer was because I had added the jsb3 to the javascript profile but had not checked the All checkbox, nor any other checkbox. Once I checked the All checkbox the null pointer exception went away.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest