Pakrat Trouble

eyefork

L3: Member
Oct 27, 2008
130
186
Pakrat has been giving me trouble lately and I'm not sure what's causing it. It seems to work fine on older maps, but for every new map I make it doesn't work. As soon as I select the map it produces this error: "java.lang.NullPointerException"

Here is the what the java console looks like:
pakratconso.jpg


and the command line:
command.jpg


I've already redownloaded Pakrat and reinstalled JRE. Neither worked.

The only thing I did today sdk-wise was install ABS's mapping resource pack again (since switching from xp), but I've never had any trouble with it in the past. However, I didn't run the installer as an admin. I did so later when I realized some parts of it weren't working properly in Hammer. Maybe not running it as an admin initially is what is causing whatever problem I'm having?
 
Last edited:

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
No idea. I suppose you could decompile the class files and try to debug it, but the author pretty much said he was abandoning the project three years ago...

A NullPointerException could be from pretty much any kind of cause, so the only hint is what it was doing when it was thrown.

My advice would be to use BSPZIP directly. (I'm working on a similar program, PackBSP, but it's in a bit of a bug-shakedown phase.)
 

eyefork

L3: Member
Oct 27, 2008
130
186
I never really figured out what the problem was, but I found an easy workaround. When Pakrat initially asks to load a map, I just load one that works. From that screen I select File>Load BSP and I'm able to load my map and pack in my files just fine.

I didn't have much luck with PackBSP, for what I'm guessing are unrelated reasons. I'll post the output in its thread.
 
Last edited: