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


Permlink Replies: 2 - Pages: 1 - Last Post: 29 Oct 19, 22:55 Last Post By: RobM
SR7007

Posts: 1
Registered: 2-Sep-2018
Changing from Turtle skin to Lucid skin
Posted: 29 Oct 19, 20:37
 
  Click to reply to this thread Reply
Hi,
I am trying to changing my site from Skin Turtle to Lucid skin.
When I push build, after a while I get these error messages.
How do I correct this?

Best regards
Stefan

An unexpected error occurred. Please see detailed description below:

java.lang.RuntimeException: Error processing /Users/StefanRobert/My Albums/Stefan Robèrt foto/Om Stefan.htt
at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:2384)
at se.datadosen.jalbum.AlbumBean$RegisteringTask.call(AlbumBean.java:5632)
at se.datadosen.jalbum.AlbumBean$RegisteringTask.call(AlbumBean.java:5613)
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: bsh.InterpreterError: Error in class initialization: bsh.TargetError: Method Invocation texts.getString : at Line: 11 : in file: inline evaluation of: `` class AboutUI extends JWebPageUI { import javax.swing.filechooser.*; . . . '' : texts .getString ( "ui.selectAuthorImage" )

Target exception: java.util.MissingResourceException: Can't find resource for bundle se.datadosen.util.SmartResourceBundle, key ui.selectAuthorImage

at bsh.ClassGeneratorUtil.initInstance(ClassGeneratorUtil.java:968)
at AboutUI.<init>(BeanShell Generated via ASM (www.objectweb.org))
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:2309)
... 6 more
Caused by: bsh.TargetError: Method Invocation texts.getString : at Line: 11 : in file: inline evaluation of: `` class AboutUI extends JWebPageUI { import javax.swing.filechooser.*; . . . '' : texts .getString ( "ui.selectAuthorImage" )

Target exception: java.util.MissingResourceException: Can't find resource for bundle se.datadosen.util.SmartResourceBundle, key ui.selectAuthorImage

at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:97)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHArguments.getArguments(BSHArguments.java:65)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.ClassGeneratorUtil.initInstance(ClassGeneratorUtil.java:966)
... 15 more
Caused by: java.util.MissingResourceException: Can't find resource for bundle se.datadosen.util.SmartResourceBundle, key ui.selectAuthorImage
at se.datadosen.util.SmartResourceBundle.getObject(SmartResourceBundle.java:105)
at se.datadosen.util.SmartResourceBundle.getObject(SmartResourceBundle.java:100)
at se.datadosen.util.SmartResourceBundle.getString(SmartResourceBundle.java:62)
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)
... 23 more
JeffTucker

Posts: 8,240
Registered: 31-Jan-2006
Re: Changing from Turtle skin to Lucid skin
Posted: 29 Oct 19, 20:39   in response to: SR7007 in response to: SR7007
 
  Click to reply to this thread Reply
See this sticky thread: https://jalbum.net/forum/ann.jspa?annID=205

ETA: The tool for converting extra pages won't work in your case, since you have created a custom page, with a different name. Delete and re-add Om Stefan.htt.
RobM

Posts: 4,233
Registered: 4-Aug-2006
Re: Changing from Turtle skin to Lucid skin
Posted: 29 Oct 19, 22:55   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
jGromit wrote:
See this sticky thread: https://jalbum.net/forum/ann.jspa?annID=205

ETA: The tool for converting extra pages won't work in your case, since you have created a custom page, with a different name. Delete and re-add Om Stefan.htt.

The tool will work if the file Om Stefan.htt. is just a renamed About.htt., just point to the About.htt file when asked if you want to find the master template. If the template is a custom page then there is nothing to refer to, to convert it.
Legend
Forum admins
Helpful Answer
Correct Answer

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