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


Permlink Replies: 4 - Pages: 1 - Last Post: 21 Apr 26, 22:31 Last Post By: RobM
RobM

Posts: 3,954
Registered: 4-Aug-2006
upload fails when not signed in
Posted: 21 Apr 26, 20:36
 
  Click to reply to this thread Reply
Sign out, quit and restart, load a project then click on upload and you get the error below. If you however click on upload/manage and you can upload, then you can just upload that one project as normal.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "se.datadosen.jalbum.AccountProfile.getFtpWebRootDirectory()" because the return value of "se.datadosen.jalbum.AccountManager.findCurrentAccount(se.datadosen.jalbum.AlbumBean)" is null
	at se.datadosen.jalbum.JAlbumFrame$JAlbumFrameActions.lambda$new$55(JAlbumFrame.java:4120)
	at se.datadosen.util.LambdaAction.actionPerformed(LambdaAction.java:56)
	at se.datadosen.util.AliasAction.actionPerformed(AliasAction.java:90)
	at se.datadosen.component.JPopupButton.lambda$initialize$0(JPopupButton.java:159)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: upload fails when not signed in
Posted: 21 Apr 26, 21:28   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I can't reproduce that on either platform.
RobM

Posts: 3,954
Registered: 4-Aug-2006
Re: upload fails when not signed in
Posted: 21 Apr 26, 22:04   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Some of the projects that failed are now working, very odd. Try this:
Sign out and quit jAlbum.
Outside jAlbum put some images in a folder.
Launch jAlbum without using a settings file.
Drag the folder onto the empty project.
Select use folder.
Make album.
Then click on upload.

For me that is repeatable.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: upload fails when not signed in
Posted: 21 Apr 26, 22:20   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Select use folder.

I'm never presented with that choice. I get a project consisting of the images in that folder, not the folder itself.

And still no error.
RobM

Posts: 3,954
Registered: 4-Aug-2006
Re: upload fails when not signed in
Posted: 21 Apr 26, 22:31   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Just have to see if David can repeat it, or if he has any idea what could be causing it. Something odd and a low priority.
Legend
Forum admins
Helpful Answer
Correct Answer

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