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


Permlink Replies: 5 - Pages: 1 - Last Post: 01-Jul-2019 19:38 Last Post By: hanso
hanso

Posts: 55
Registered: 16-Apr-2008
Mirage crash
Posted: 27-Jun-2019 09:10
 
  Click to reply to this thread Reply
Mirage throws an error at me. Skin worked fine with this album, unchanged, a week ago with Jalbum 18.2.1

For the time being I went back to 18.2.1 and all is well again.
So 18.3 broke something for Mirage?

Stack trace for jAlbum 18.3 using skin Mirage 9.2:

se.datadosen.util.ScriptException: java.lang.NoSuchMethodError: se.datadosen.jalbum.AlbumBean.getTargetName(Ljava/lang/String;)Ljava/lang/String; in index.htt at line number 67
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:75)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.AST.eval(AST.java:75)
at se.datadosen.jalbum.AlbumBean.makeIndexPages(AlbumBean.java:3197)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1475)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2757)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2669)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1101)
Caused by: javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: `` index.fIndexInit(); // Initialise the index page vIsFirstIndexPage = index.vI . . . '' : Method Invocation index.fIndexInit : at Line: 2 : in file: inline evaluation of: `` index.fIndexInit(); // Initialise the index page vIsFirstIndexPage = index.vI . . . '' : index .fIndexInit ( )

Target exception: java.lang.NoSuchMethodError: se.datadosen.jalbum.AlbumBean.getTargetName(Ljava/lang/String;)Ljava/lang/String;
in inline evaluation of: `` index.fIndexInit(); // Initialise the index page vIsFirstIndexPage = index.vI . . . '' at line number 2
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.ast.ScriptletNode.doEval(ScriptletNode.java:54)
... 9 more
Caused by: java.lang.NoSuchMethodError: se.datadosen.jalbum.AlbumBean.getTargetName(Ljava/lang/String;)Ljava/lang/String;
at MgAlbumObject.getThumbnailPath(MgAlbumObject.java:2244)
at MgAlbumObject.fProcessFolder(MgAlbumObject.java:1225)
at MgAlbumObject.initExtras(MgAlbumObject.java:414)
at MgAlbumObject.<init>(MgAlbumObject.java:173)
at Index.fAlbumInit(Index.java:474)
at Index.fIndexInit(Index.java:534)
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.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)
... 12 more
jGromit

Posts: 7,502
Registered: 31-Jan-2006
Re: Mirage crash
Posted: 27-Jun-2019 14:13   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
Don't know what's causing the error, but it's not just you, or something odd about your album project. I get the same error with a simple album with default settings.

There's nothing in the 18.3 release notes that raises any red flags, or that sounds like it would be related to this, alas.
ctwist

Posts: 554
Registered: 27-Sep-2003
Re: Mirage crash
Posted: 27-Jun-2019 19:24   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
An internal enhancement in jAlbum 18.3 causes Mirage to crash. I will publish a fix in a few days.
hanso

Posts: 55
Registered: 16-Apr-2008
Re: Mirage crash
Posted: 28-Jun-2019 09:16   in response to: ctwist in response to: ctwist
 
  Click to reply to this thread Reply
Great support! Thank you!
ctwist

Posts: 554
Registered: 27-Sep-2003
Re: Mirage crash
Posted: 29-Jun-2019 16:53   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
This is fixed in jAlbum 18.3.1. jAlbum may automatically update from 18.3 to 18.3.1. If it doesn't, do a core update (Tools / External Tools / jAlbum core update).
hanso

Posts: 55
Registered: 16-Apr-2008
Re: Mirage crash
Posted: 01-Jul-2019 19:38   in response to: ctwist in response to: ctwist
 
  Click to reply to this thread Reply
Updated to 18.3.1 and all is well again!
Legend
Forum admins
Helpful Answer
Correct Answer

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