Bug R17292 - Script execution aborted (java.lang.NullPointerEx...): (zlib.ash, line 202)

Abbbo

New member
Request 19 of 92 (Dinseylandfill: Barf Mountain) in progress...
(Digitize Monster counter expired)
Unexpected error, debug log printed.
Script execution aborted (java.lang.NullPointerException): (zlib.ash, line 202)

Every time as digitized monster is in sight

View attachment DEBUG_20161020.txt
 

fronobulax

Developer
Staff member
No ideas. But...

zlib 202 is trying to read zversions.txt and the NPE occurs in file reading code, so I wonder if zversions.txt is corrupt or absent? In the absence of anything else, I would delete it and then try again.
 

Abbbo

New member
Seems it's some problem in ChIT - it's now not shows and gives this error at refresh of the character pane
 

Veracity

Developer
Staff member
Code:
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at java.io.ByteArrayInputStream.<init>(Unknown Source)
That is in the "initialization" code of Java's ByteArrayInputStream. Which is to say, the initialization that is done the first time a package is loaded. You have a Java problem.

Reboot and try again?
 

xKiv

Active member
Code:
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at java.io.ByteArrayInputStream.<init>(Unknown Source)
That is in the "initialization" code of Java's ByteArrayInputStream. Which is to say, the initialization that is done the first time a package is loaded. You have a Java problem.

Reboot and try again?

Not necessarily (and I think that would end up throwing NoClassDefFoundError) (also you mean "class", not "package" ;) ). This looks more like effectively calling new ByteArrayInputStream(null). [1]
Which ... I think the only way for that to happen (with current mafia source) is if the file is in dataFileTimestampCache but not in dataFileDataCache?
I don't see any synchronization that could prevent concurrent access there. I don't think there's a way for a null to be put into dataFileDataCache.

[1] iirc you can also get NoClassDefFoundError when a superclass constructor throws an exception. But when the exception comes from inside the "topmost" constructor, you just get the exception.
 

Abbbo

New member
Updating all SVN projects...
svn: E160013: '/svn/trunk/raidlogs' path not found: 404 Not Found (https://almighty-saplings-ash.googlecode.com)
bale-advisor is at HEAD (r25)
bale-counterchecker is at HEAD (r21)
bale-ltt is at HEAD (r6)
bale-ocd is at HEAD (r43)
bale-relay-campground is at HEAD (r122)
bale-relay-desc_wikiLinks is at HEAD (r122)
bale-relay-manor_unlockInfo is at HEAD (r122)
bale-relay-topmenu is at HEAD (r122)
bale-relay-woods_questStart is at HEAD (r122)
batbrain is at HEAD (r100)
batman-re is at HEAD (r45)
bumcheekascend-bumpork is at HEAD (r656)
ccascend-snapshot is at HEAD (r1001)
clilinks is at HEAD (r6)
svn: E175002: unknown host
svn: E175002: unknown host
svn: E175002: unknown host

guyymafia-spacetripper is at HEAD (r164)
guyymafia-tricktreat is at HEAD (r164)
mafiachit is at HEAD (r504)
mafiarecovery is at HEAD (r28)
relaywtf-famswtf is at HEAD (r39)
relaywtf-inventorywtf is at HEAD (r39)
relaywtf-shopwtf is at HEAD (r39)
relaywtf-skillswtf is at HEAD (r39)
relaywtf-vipwtf is at HEAD (r39)
relaywtf-wtf is at HEAD (r39)
rlbond86-mafia-scripts-auto_mushroom-trunk is at HEAD (r37)
rlbond86-mafia-scripts-better_trainer-trunk is at HEAD (r37)
rlbond86-mafia-scripts-bounty_hunter_helper-trunk is at HEAD (r37)
rlbond86-mafia-scripts-enhanced_inventory_spoilers-trunk is at HEAD (r37)
smartstasis is at HEAD (r30)
therazekolmafia-canadv is at HEAD (r89)
therazekolmafia-eatdrink is at HEAD (r52)
therazekolmafia-thesea is at HEAD (r40)
winterbay-mafia-farm is at HEAD (r27)
winterbay-mafia-sushi is at HEAD (r4)
zlib is at HEAD (r30)
 

lostcalpolydude

Developer
Staff member
That probably isn't related to your initial post. You probably want to delete and reinstall that script, since the URL has changed.
 
Top