Permlink Replies: 7 - Pages: 1 - Last Post: 26-Dec-2019 18:25 Last Post By: davidekholm Threads: [ Previous | Next ]
winterman

Posts: 6
Registered: 16-Jul-2018
Malformed URL Exception
Posted: 19-Dec-2019 15:50
  Click to reply to this thread Reply
Attachment Capture.JPG (18,5 KB)
I'm having the same problem. I M trying to upload to my personal domain.
JeffTucker

Posts: 6,883
Registered: 31-Jan-2006
Re: Malformed URL Exception
Posted: 19-Dec-2019 15:54   in response to: winterman in response to: winterman
  Click to reply to this thread Reply
(Split into a new thread. This is not the same problem.)
JeffTucker

Posts: 6,883
Registered: 31-Jan-2006
Re: Malformed URL Exception
Posted: 19-Dec-2019 15:55   in response to: winterman in response to: winterman
  Click to reply to this thread Reply
When you get that error, please click Copy to clipboard, then paste the detailed error into your reply here.
JeffTucker

Posts: 6,883
Registered: 31-Jan-2006
Re: Malformed URL Exception
Posted: 19-Dec-2019 15:58   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
Some quick looking around, and that error appears to be occurring when jAlbum tries to show you the album it has just uploaded, but there's something about the URL of the album that it doesn't like. Please give us a link to the album - maybe there's hint there?
winterman

Posts: 6
Registered: 16-Jul-2018
Re: Malformed URL Exception
Posted: 19-Dec-2019 16:25   in response to: winterman in response to: winterman
  Click to reply to this thread Reply
java.net.MalformedURLException
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at java.base/java.net.URL.<init>(Unknown Source)
at se.datadosen.jalbum.JAlbumFrame.openInBrowser(JAlbumFrame.java:2420)
at se.datadosen.jalbum.JPublishWizard$PublishStep.doAfterUploadAlbum(JPublishWizard.java:2262)
at se.datadosen.jalbum.JPublishWizard$PublishStep.access$1400(JPublishWizard.java:838)
at se.datadosen.jalbum.JPublishWizard$PublishStep$19.run(JPublishWizard.java:2125)
Caused by: java.lang.NullPointerException
... 7 more
JeffTucker

Posts: 6,883
Registered: 31-Jan-2006
Re: Malformed URL Exception
Posted: 19-Dec-2019 16:32   in response to: winterman in response to: winterman
  Click to reply to this thread Reply
This has shown up once before, but that user never responded again, so we never had a chance to debug. See David's last post here: https://jalbum.net/forum/thread.jspa?threadID=55560
winterman

Posts: 6
Registered: 16-Jul-2018
Re: Malformed URL Exception
Posted: 19-Dec-2019 17:04   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
Yes it is to do with the URL I'm uploading to. Somehow I managed to upload the site to a "new" folder nested within the existing site. This confused the management of the site through JAlbum.

Deleting the "nested" folder and redirecting the the links at the upload stage has sorted it.

"Phew"! Anyway thanks for the hints!
davidekholm

Posts: 3,222
Registered: 18-Oct-2002
Re: Malformed URL Exception
Posted: 26-Dec-2019 18:25   in response to: winterman in response to: winterman
  Click to reply to this thread Reply
For the next release I'm adding better debug info so we know WHAT URL is malformed.
Legend
Forum admins
Helpful Answer
Correct Answer

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