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


Permlink Replies: 3 - Pages: 1 - Last Post: 4 Nov 24, 17:27 Last Post By: JeffTucker Threads: [ Previous | Next ]
helvetdulac

Posts: 4
Registered: 29-Aug-2007
problemes avec animatics
Posted: 4 Nov 24, 10:51
 
  Click to reply to this thread Reply
Stack trace for jAlbum 36 using skin Animatics 3.8:

se.datadosen.util.ScriptException: java.lang.NullPointerException: Cannot invoke "String.indexOf(int)" because "value" is null in init.bsh at line number 16
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3303)
at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:3919)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3601)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3516)
at se.datadosen.jalbum.MakeAlbumTask.doInBackground(MakeAlbumTask.java:174)
at se.datadosen.jalbum.TaskManager$BackgroundTask.call(TaskManager.java:113)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: ``/** * This script is run everytime an album is created with JAlbum. * It pas . . . '' : Typed variable declaration : Method Invocation this.caller.namespace.getClass : at Line: 16 : in file: /bsh/commands/getClass.bsh : this .caller .namespace .getClass ( name )

Called from method: getClass : at Line: 33 : in file: inline evaluation of: ``/** * This script is run everytime an album is created with JAlbum. * It pas . . . '' : getClass ( props .getProperty ( "class" ) )
Target exception: java.lang.NullPointerException: Cannot invoke "String.indexOf(int)" because "value" is null
in /bsh/commands/getClass.bsh at line number 16
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:3360)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:3345)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3300)
... 9 more
Caused by: java.lang.NullPointerException: Cannot invoke "String.indexOf(int)" because "value" is null
at bsh.Name.isCompound(Name.java:1003)
at bsh.NameSpace.getClassImpl(NameSpace.java:1082)
at bsh.NameSpace.getClass(NameSpace.java:1040)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeMethod(Reflect.java:142)
at bsh.Reflect.invokeObjectMethod(Reflect.java:78)
at bsh.Name.invokeMethod(Name.java:859)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHReturnStatement.eval(BSHReturnStatement.java:48)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:362)
at bsh.BshMethod.invoke(BshMethod.java:258)
at bsh.BshMethod.invoke(BshMethod.java:186)
at bsh.Name.invokeLocalMethod(Name.java:959)
at bsh.Name.invokeMethod(Name.java:804)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:86)
at bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:84)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BSHBlock.eval(BSHBlock.java:46)
at bsh.BSHForStatement.eval(BSHForStatement.java:111)
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)
... 14 more
JeffTucker

Posts: 8,211
Registered: 31-Jan-2006
Re: problemes avec animatics
Posted: 4 Nov 24, 13:50   in response to: helvetdulac in response to: helvetdulac
 
  Click to reply to this thread Reply
If you save the project, close jAlbum, launch again, open the project, and Make Album, do you still get the error?
Laza

Posts: 1,832
Registered: 6-Sep-2005
Re: problemes avec animatics
Posted: 4 Nov 24, 17:06   in response to: helvetdulac in response to: helvetdulac
 
  Click to reply to this thread Reply
I guess it's not about the skin, as none of the code lines are from the skin and no init.bsh exists in the skin at all. Hopefully, a jAlbum restart will fix this.
JeffTucker

Posts: 8,211
Registered: 31-Jan-2006
Re: problemes avec animatics
Posted: 4 Nov 24, 17:27   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
That also suggests that reinstalling the skin might be a good idea, too. Takes only a few seconds.

https://jalbum.net/skins/skin/Animatics/
Legend
Forum admins
Helpful Answer
Correct Answer

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