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


Permlink Replies: 6 - Pages: 1 - Last Post: 4 Feb 24, 08:07 Last Post By: Laza
knax

Posts: 3
Registered: 1-Nov-2010
Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 11:32
 
  Click to reply to this thread Reply
Stack trace for jAlbum 32.1.3 using skin Story 5.0.1:

se.datadosen.util.ScriptException: bsh.UtilEvalError: Class or variable not found: story.Gui in onload.bsh at line number 3
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3315)
at se.datadosen.jalbum.JAlbumFrame.executeScript(JAlbumFrame.java:1339)
at se.datadosen.jalbum.JMainSettingsPanel$5$1.run(JMainSettingsPanel.java:350)
Caused by: javax.script.ScriptException: Sourced file: inline evaluation of: ``/* Initializing the User Interface / new story.Gui(context); ;'' : Class or variable not found: story.Gui : at Line: 3 : in file: inline evaluation of: ``/ Initializing the User Interface */ new story.Gui(context); ;'' : story .Gui
in inline evaluation of: ``/* Initializing the User Interface */ new story.Gui(context); ;'' at line number 3
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:96)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:3372)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:3357)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3312)
... 2 more
Caused by: bsh.UtilEvalError: Class or variable not found: story.Gui
at bsh.Name.consumeNextObjectField(Name.java:343)
at bsh.Name.toObject(Name.java:202)
at bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:60)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
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,787
Registered: 4-Aug-2006
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 12:35   in response to: knax in response to: knax
 
  Click to reply to this thread Reply
Have you tried reinstalling the skin?
knax

Posts: 3
Registered: 1-Nov-2010
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 12:48   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Yes, I've removed the skin from the skin folder and I've also removed it in jalbum (which then said that I'll be left with the bundled version of the skin). I've then also tried to re-copy the skin from the jalbum website to the skin folder. But none of this lead to any improvement.
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 14:38   in response to: knax in response to: knax
 
  Click to reply to this thread Reply
No error with jAlbum 34.2b2. I went back to jAlbum 32.1.3, and Story refuses to load with that version.

Not sure what the problem is, but the two quick solutions are either to install jAlbum 34.1 (the most recent official release), or reinstall version 4.1.1 of Story.

ETA: I haven't tried it, but Story 4.3.2 might be OK with the older version of jAlbum. To get to the previous skin versions, on the skin page, scroll down and click Show all.
knax

Posts: 3
Registered: 1-Nov-2010
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 18:12   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Ok, thanks for your help. Unfortunately, jAlbum 32.1.3 is the latest version that is included in my license and I'm currently not planning to buy another license. For now, I've gone with the Photoblogger skin.
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 3 Feb 24, 18:31   in response to: knax in response to: knax
 
  Click to reply to this thread Reply
In any event, the error is very mysterious - Laza will need to dig into this one a bit.
Laza

Posts: 1,798
Registered: 6-Sep-2005
Re: Error using skin Story 5.0.1 with jAlbum 32.1.3
Posted: 4 Feb 24, 08:07   in response to: knax in response to: knax
 
  Click to reply to this thread Reply
The error is triggered by the right-click submenu "Treat image as...". Even though the skin tries to catch the missing JComboMenu for older jAlbum versions, it seems the logic has failed, and it calls a subroutine which isn't prepared for this case. I will fix this soon.
Legend
Forum admins
Helpful Answer
Correct Answer

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