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


Permlink Replies: 2 - Pages: 1 - Last Post: 21-Nov-2018 14:58 Last Post By: jGromit Threads: [ Previous | Next ]
jGromit

Posts: 8,337
Registered: 31-Jan-2006
Embed Album fails
Posted: 21-Nov-2018 13:47
 
  Click to reply to this thread Reply
Just tried Album > Embed Album with a little test project (jAlbum 17.1b6, Minimal) that I uploaded to jalbum.net, and got this:
An unexpected error occurred. Please see detailed description below:
 
java.lang.NullPointerException
	at se.datadosen.jalbum.AST.eval(AST.java:76)
	at se.datadosen.jalbum.AlbumBean.makeEmbedCode(AlbumBean.java:3038)
	at se.datadosen.jalbum.JEmbedPanel$3$1.doInBackground(JEmbedPanel.java:68)
	at se.datadosen.jalbum.JEmbedPanel$3$1.doInBackground(JEmbedPanel.java:61)
	at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.desktop/javax.swing.SwingWorker.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)
But I don't think this should be fixed - I think it's time to remove that capability entirely. With more and more responsive skins, iframe embedding is a terrible thing to do, and shouldn't be encouraged.
davidekholm

Posts: 3,790
Registered: 18-Oct-2002
Re: Embed Album fails
Posted: 21-Nov-2018 14:28   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thanks for reporting. You're probably right about that, but for now I prefer to simply fix that bug. It was a quick one. Beta jar file updated.
jGromit

Posts: 8,337
Registered: 31-Jan-2006
Re: Embed Album fails
Posted: 21-Nov-2018 14:58   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Fixed. But I think this goes on my list of "obsolete things that should be killed off." ;)
Legend
Forum admins
Helpful Answer
Correct Answer

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