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


Permlink Replies: 1 - Pages: 1 - Last Post: 27-Aug-2018 01:46 Last Post By: jGromit Threads: [ Previous | Next ]
lcamposo

Posts: 1
Registered: 25-Mar-2010
adding a link to a photo
Posted: 27-Aug-2018 01:32
 
  Click to reply to this thread Reply
ERROR REPORT

Stack trace for jAlbum 16.2 using skin Turtle 5.6.6:

se.datadosen.util.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: `` /* images.inc / updateLocal(); if (!(useAlbumAud . . . '' : Typed variable declaration : Method Invocation util.getDim : at Line: 1491 : in file: inline evaluation of: ``/ init.bsh - the Beanshell script to initialize the skin Author: Laza */ . . . '' : util .getDim ( externalContentSize )

Target exception: java.lang.NumberFormatException: For input string: "20p"
in images.inc at line number 1494
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:897)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:819)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:222)
at se.datadosen.jalbum.TemplateParser.handleIteration(TemplateParser.java:392)
at se.datadosen.jalbum.TemplateParser.handleIterator(TemplateParser.java:376)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:234)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:826)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:222)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:508)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:207)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:244)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:183)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:137)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:152)
at se.datadosen.jalbum.TemplateParser.handleInclude(TemplateParser.java:656)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:216)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:508)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:207)
at se.datadosen.jalbum.TemplateParser.handleInclude(TemplateParser.java:665)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:216)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:508)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:207)
at se.datadosen.jalbum.TemplateParser.handleInclude(TemplateParser.java:665)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:216)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:183)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:137)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:152)
at se.datadosen.jalbum.AlbumBean.makeIndexPages(AlbumBean.java:3204)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1425)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2754)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2665)
at se.datadosen.jalbum.JAlbumFrame$5.run(JAlbumFrame.java:1055)
Caused by: java.lang.NumberFormatException: For input string: "20p"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at Util.getDim(Util.java:910)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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.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.BSHIfStatement.eval(BSHIfStatement.java:48)
at bsh.BSHSwitchStatement.eval(BSHSwitchStatement.java:88)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BSHBlock.eval(BSHBlock.java:46)
at bsh.BSHIfStatement.eval(BSHIfStatement.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: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.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BSHBlock.eval(BSHBlock.java:46)
at bsh.BSHIfStatement.eval(BSHIfStatement.java:51)
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.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)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2530)
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:886)
... 31 more
jGromit

Posts: 8,325
Registered: 31-Jan-2006
Re: adding a link to a photo
Posted: 27-Aug-2018 01:36   in response to: lcamposo in response to: lcamposo
 
  Click to reply to this thread Reply
Attachment ss004374.png (172.7 KB)
Please attach your project file, jalbum-settings.jap.

Somewhere, there's a field that's expecting a numeric value, and you have entered 20p, which is not numeric.

ETA: Forget about the project file - this isn't stored there. For one of your images, you've entered non-numeric dimensions for the box to contain it. See screenshot. From the error message, it's not possible to tell which image is causing the problem.
Legend
Forum admins
Helpful Answer
Correct Answer

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