Patrick

Try using a fresh check out instead of a refresh.

After compileing do an 

>ant run

And see if it works that way.


Quoting Patrick Bielen <[EMAIL PROTECTED]>:

> Hi All,
>  
> Just refreshed and builded tn5250j from CVS.
> When i run tn5250j from netbeans then all is ok (run the my5250.class)
> but when i build with ant, and then copy the tn5250j.jar from the
> build to the production dir (which is C:\tn5250j on all the windows-boxes
> here) and then run tn5250j then i get the next error.
>  
> C:\tn5250j>java -jar tn5250j.jar
> No other instances of tn5250j running.
> Exception in thread "main" java.lang.NullPointerException
>         at javax.swing.ImageIcon.<init>(Unknown Source)
>         at org.tn5250j.tools.GUIGraphicsUtils.createImageIcon(Unknown
> Source)
>         at org.tn5250j.gui.TN5250jSplashScreen.<init>(Unknown Source)
>         at org.tn5250j.My5250.<init>(Unknown Source)
>         at org.tn5250j.My5250.main(Unknown Source)
>  
> So seems there is something wrong with the classpath after the build of the
> jar.
>  
> Anyway, gonna track the problem now, but keep in mind that when you
> distribute the jar to new users that problems can arise...
>  
> Met vriendelijke groeten,
> Best Regards,
>  
> Patrick Bielen
>  
> System-Administrator Stafa Holland BV
> Microsoft Certified Professional
> Sun Certified Java Programmer
>  
> 






-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Reply via email to