Re: newbie+jedit+jswatPlugin: NullPointerException

Nathan Fiedler <[email protected]> 02 Apr 2003 15:50:39 -0800
Newsgroups gmane.comp.java.jswat.user
Organization ACCESS Systems America
Message-ID <[email protected]>
Could you show a directory listing of your jedit/jars directory, showing
the jswat.jar, jswatplugin.jar, jclasslib.jar, and jswat-parser.jar
files? The exception you're getting indicates that an image resource
could not be found. This is indicative of a classpath problem, which is
why I ask about the jar files.

n


On Wed, 2003-04-02 at 15:44, Diane wrote:
> Hopefully this is "stupid user error" :-)
> 
> New install of JEdit4.1Final + JSwatPlugin
> After some hairpulling :-) ,  have successfully run through the tutorial
> with the standalone JSwat 2.14.  However, unable to do anything via the
> plugin.  "Show Options" & "Start VM" stop with NullPointerException; "Dock
> JSwat Plugin" doesn't, but "vwStart" doesn't do anything .  AFAIK, I have
> the JSwat options (Utilities > Global Options >JSwat) set, but it sure looks
> like I missing something.
> 
> JEdit loaded with JSwat tutorial.
> When choosing "Show Options", I get:
> 
> BeanShell error
> java.lang.NullPointerException
>  at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
>  at com.bluemarsh.jswat.plugins.jedit.JSwatPlugin.showOptions(Unknown
> Source)
> ...
>  at bsh.Reflect.invokeMethod(Unknown Source)
>  at bsh.Reflect.invokeStaticMethod(Unknown Source)
>  at bsh.Name.invokeMethod(Unknown Source)
> ... + more
> 
> At this point I know nada about BeanShell :-(, but it sure feels like I'm
> missing some sort of path.  Have hit the Help & Message Boards, but I'm
> still in the dark.
> 
> O/S = Win2K
> java=Sun sdk1.4.1_02