This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: 09-Dec-2019 11:20 Last Post By: RobM
elbondadoso

Posts: 2
Registered: 9-Jul-2010
Error
Posted: 09-Dec-2019 10:54
 
  Click to reply to this thread Reply
I got a message on opening an album made with Tiger:
Stack trace for jAlbum 19.0.6 using skin Tiger 2.9.5:

se.datadosen.util.ScriptException: java.lang.NullPointerException in onload.bsh at line number 3
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2480)
at se.datadosen.jalbum.JAlbumFrame.executeScript(JAlbumFrame.java:1270)
at se.datadosen.jalbum.JMainSettingsPanel$5$1.run(JMainSettingsPanel.java:311)
Caused by: javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: ``/* Initializing the User Interface / new tiger.Gui(context); ;'' : Object constructor : at Line: 3 : in file: inline evaluation of: ``/ Initializing the User Interface */ new tiger.Gui(context); ;'' : new tiger .Gui ( context )

Target exception: java.lang.NullPointerException
in inline evaluation of: ``/* Initializing the User Interface */ new tiger.Gui(context); ;'' at line number 3
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:90)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2530)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:2522)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2478)
... 2 more
Caused by: java.lang.NullPointerException
at com.kitfox.svg.SVGDiagram.render(SVGDiagram.java:111)
at com.kitfox.svg.app.beans.SVGIcon.paintIcon(SVGIcon.java:322)
at com.kitfox.svg.app.beans.SVGIcon.paintIcon(SVGIcon.java:213)
at se.datadosen.component.DeferredSVGIcon.paintIcon(DeferredSVGIcon.java:83)
at com.kitfox.svg.app.beans.SVGIcon.getImage(SVGIcon.java:113)
at se.datadosen.component.JPlainButton.brighten(JPlainButton.java:156)
at se.datadosen.component.JPlainButton.setIcon(JPlainButton.java:136)
at java.desktop/javax.swing.AbstractButton.setIconFromAction(Unknown Source)
at java.desktop/javax.swing.AbstractButton.configurePropertiesFromAction(Unknown Source)
at java.desktop/javax.swing.AbstractButton.setAction(Unknown Source)
at java.desktop/javax.swing.JButton.<init>(Unknown Source)
at se.datadosen.component.JPlainButton.<init>(JPlainButton.java:38)
at tiger.JVariablesPanel.<init>(JVariablesPanel.java:112)
at tiger.Gui$2$16$1.<init>(Gui.java:1740)
at tiger.Gui$2$16.<init>(Gui.java:1736)
at tiger.Gui$2.<init>(Gui.java:1734)
at tiger.Gui.<init>(Gui.java:234)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at bsh.Reflect.constructObject(Reflect.java:574)
at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:125)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:672)
at bsh.Interpreter.eval(Interpreter.java:766)
at bsh.Interpreter.eval(Interpreter.java:755)
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:82)
... 7 more
RobM

Posts: 3,188
Registered: 4-Aug-2006
Re: Error
Posted: 09-Dec-2019 11:20   in response to: elbondadoso in response to: elbondadoso
 
  Click to reply to this thread Reply
Please try the steps listed here
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums