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
 

Reply via email to