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


Permlink Replies: 1 - Pages: 1 - Last Post: 15-May-2020 20:22 Last Post By: jGromit
CaveaisneSite

Posts: 1
Registered: 24-May-2014
jAlbum 20.1 using skin MatrixSlide 49
Posted: 15-May-2020 17:31
 
  Click to reply to this thread Reply
Stack trace for jAlbum 20.1 using skin MatrixSlide 49:

se.datadosen.util.ScriptException: java.lang.StringIndexOutOfBoundsException: String index out of range: 37 in init.bsh at line number 22
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2496)
at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:2985)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2721)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2685)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1124)
Caused by: javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: ``// Utility functions private void console(String s) { System.out.println(s) . . . '' : Method Invocation engine.processTemplate : at Line: 22 : in file: inline evaluation of: ``// Utility functions private void console(String s) { System.out.println(s) . . . '' : engine .processTemplate ( s )

Called from method: cleanString : at Line: 457 : in file: inline evaluation of: ``// Utility functions private void console(String s) { System.out.println(s) . . . '' : cleanString ( albumTitle )
Target exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 37
in inline evaluation of: ``// Utility functions private void console(String s) { System.out.println(s) . . . '' at line number 22
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:2546)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:2538)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2494)
... 4 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 37
at java.base/java.lang.StringLatin1.charAt(Unknown Source)
at java.base/java.lang.String.charAt(Unknown Source)
at se.datadosen.tags.Section.charAt(Section.java:152)
at se.datadosen.tags.Elements.getNextElement(Elements.java:111)
at se.datadosen.tags.Elements.getNextElement(Elements.java:61)
at se.datadosen.jalbum.AST.buildTree(AST.java:104)
at se.datadosen.jalbum.AST.<init>(AST.java:48)
at se.datadosen.jalbum.AlbumBean.processTemplate(AlbumBean.java:1254)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeMethod(Reflect.java:146)
at bsh.Reflect.invokeObjectMethod(Reflect.java:79)
at bsh.Name.invokeMethod(Name.java:859)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:103)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHAssignment.eval(BSHAssignment.java:77)
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:918)
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.BSHAssignment.eval(BSHAssignment.java:77)
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)
... 9 more
jGromit

Posts: 7,631
Registered: 31-Jan-2006
Re: jAlbum 20.1 using skin MatrixSlide 49
Posted: 15-May-2020 20:22   in response to: CaveaisneSite in response to: CaveaisneSite
 
  Click to reply to this thread Reply
Try the first few steps in the debugging guide - close and launch again, reinstall the skin, and/or reinstall jAlbum:

https://jalbum.net/forum/ann.jspa?annID=204

But first, go to Settings > General > Album title and reenter the title. There might be some illegal characters in there.

MatrixSlide is a legacy skin and is not supported, but it does work properly with jAlbum 20.1.
Legend
Forum admins
Helpful Answer
Correct Answer

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