Thread Locked This thread is locked - replies are not allowed.


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


Permlink Replies: 12 - Pages: 1 - Last Post: 9 Aug 26, 20:06 Last Post By: AnCa Threads: [ Previous | Next ]
jafojtik

Posts: 47
Registered: 2-Sep-2012
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 00:10
 
It seems to me that there is something vousy in this www.

Clicking here:
https://jalbum.net/web/GetSkinFile?versionId=5811&type=jaskin

Emits Java error:
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because "previewId" is null

PS: This is not critical for me. It is only notification about some problem.

Edited by: jafojtik on 9 Aug 2026, 00:14

JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 00:20   in response to: jafojtik in response to: jafojtik
 
Please tell us what link you were clicking on. What page? What link?

This guy isn't on duty at the moment:

RobM

Posts: 4,070
Registered: 4-Aug-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 00:37   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
Please tell us what link you were clicking on. What page? What link?

This guy isn't on duty at the moment:

It's the skins page and the skin you have asked Anders to delete
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 00:40   in response to: RobM in response to: RobM
 
RobM wrote:
It's the skins page and the skin you have asked Anders to delete

Ah, so it is! Well, I think a Java error is the best result. ;)
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 00:54   in response to: JeffTucker in response to: JeffTucker
 
"New" skin is now gone - Anders seems to be a night owl!
jafojtik

Posts: 47
Registered: 2-Sep-2012
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 01:28   in response to: JeffTucker in response to: JeffTucker
 
But anyway, it seems that this www has some skin downloading problem when skin does not have image.

Even when you erased this skin, java error should be fixed.

There could be created some dummy skin that tests this error.



PS: I did not know, that it is rejected to do small skin modiffications. I was active on 3D printer forum and they welcome any modification of existing 3D objects already published. They call them remixes.

Edited by: jafojtik on 9 Aug 2026, 01:33
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 01:36   in response to: jafojtik in response to: jafojtik
 
This is the first time in 20 years that anyone has had a problem with this. So, yeah, the jAlbum team, which consists of exactly three people (David, Anders, and Laza), should get right on it!
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 01:37   in response to: jafojtik in response to: jafojtik
 
jafojtik wrote:
PS: I did not know, that it is rejected to do small skin modiffications. I was active on 3D printer forum and they welcome any modification of existing 3D objects already published. They call them remixes.

Do you see any other such minor fixes in the skin repository? What do you conclude from that?
jafojtik

Posts: 47
Registered: 2-Sep-2012
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 09:48   in response to: JeffTucker in response to: JeffTucker
 
I have verified that a problem with skin www page still exists:
https://jalbum.net/web/GetSkinFile?versionId=5812&type=jaskin

I have created temporary test skin:
https://jalbum.net/en/users/jafojtik/skins/skin/Temporary%20test
and a same java problem is reproducible:
https://jalbum.net/web/GetSkinFile?versionId=5812&type=jaskin
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because "previewId" is null


More, I have found another Java related bug on your www page:

This is also an unpleasant Java error instead of some more logical message:
Could not locate error message for component: RequiredTextField@uploadForm:sampleUrl and error: [ValidationError message=[null], keys=[Required], variables=[null]]. Tried keys: sampleUrl.Required, Required.


This is the first time in 20 years that anyone has had a problem with this. So, yeah, the >jAlbum team, which consists of exactly three people (David, Anders, and Laza), should get >right on it!
I have found second bug when I attempt to test it. Some items should be marked as mandatory rather than causing Java to crash.

You should be happy that somebody found a problem. Problem could be easily fixed and they vanish forewer.

Please do not erase this skin now, erase it after you fix www page Java code.

Edited by: jafojtik on 9 Aug 2026, 09:53
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 10:19   in response to: jafojtik in response to: jafojtik
 
jafojtik wrote:
You should be happy that somebody found a problem. Problem could be easily fixed and they vanish forewer.

So now you're going out of your way to create errors to entrap site visitors. This amounts to vandalism. You're hacking the jAlbum website, producing errors that have never occurred in over two decades.

I've asked Anders to go clean up the mess you've created.

Please do not erase this skin now, erase it after you fix www page Java code.

You are not in charge, here. You don't get to set tasks for a small, overworked staff.

If you repeat this, you may find yourself blocked from using the site entirely.


Do I make myself clear?

jafojtik

Posts: 47
Registered: 2-Sep-2012
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 12:09   in response to: JeffTucker in response to: JeffTucker
 
I want only to help you to report existing problem. Nothing more. I have reported bug to a right thread that is deserved for bug repots.

It is too sad that you consider reporting of legal bugs to be a reason for baning somebody.

Bug reporting guidelines are clearly stated here from you, I did not violate them:
https://jalbum.net/forum/ann.jspa?annID=12
it looks that there are another unwritten requirements, that are much more worse because no user knows them.

I have never attempted to hack Jalbum site! Do not blame me from this.

Edited by: jafojtik on 9 Aug 2026, 12:21
JeffTucker

Posts: 8,534
Registered: 31-Jan-2006
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 12:52   in response to: jafojtik in response to: jafojtik
Helpful
Problems noted. This will be given all the attention it deserves.
AnCa

Posts: 330
Registered: 25-Mar-2005
Re: java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
Posted: 9 Aug 26, 20:06   in response to: jafojtik in response to: jafojtik
 
jafojtik wrote:
I have verified that a problem with skin www page still exists:
https://jalbum.net/web/GetSkinFile?versionId=5812&type=jaskin

Bug fixed now.

Please do not erase this skin now, erase it after you fix www page Java code.

Skin deleted.

If you find bugs on the site, just contact our support at support@jalbum.net. The web team (me) don't check this forum, since it is for client and skin related stuff.
Legend
Forum admins
Helpful Answer
Correct Answer

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