pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Suddenly Receiving java.lang.NullPointerException Error Upon Loading  (Read 980 times)

brodie7838

  • Initiate
  • *
  • Posts: 2
    • View Profile

Right around the time iTunes automatically updated to 9.0.3.15, upon loading PulpTunes I receive this error:

Code: [Select]
java.lang.NullPointerException
at pulptunes.Settings.save(Settings.java:174)
at pulptunes.PulpTunesApp.getXMLLocation(PulpTunesApp.java:237)
at pulptunes.PulpTunesApp.main(PulpTunesApp.java:560)

I uninstalled PulpTunes and reinstalled, only to receive roughly the same error, but with more detail:
Code: [Select]
java.lang.NullPointerException
at pulptunes.Settings.save(Settings.java:174)
at pulptunes.CommandLineOptions.setLanguageFromInstall(CommandLineOptions.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.args4j.MethodSetter.addValue(MethodSetter.java:35)
at org.kohsuke.args4j.spi.StringOptionHandler.parseArguments(StringOptionHandler.java:19)
at org.kohsuke.args4j.CmdLineParser.parseArgument(CmdLineParser.java:423)
at pulptunes.PulpTunesApp.parseArgs(PulpTunesApp.java:101)
at pulptunes.PulpTunesApp.main(PulpTunesApp.java:551)

I have removed all references to PulpTunes from the registry using regedit, and of course rebooted, and re-installed using a freshly downloaded copy of Pulptunes. I've installed the latest version of Java (Version 6 Update 18 x32) and removed all previous versions.
Everything was working in it's original configuration for several weeks, and while I don't know if it stopped working exactly when iTunes updated, it's the only thing I know that has changed/updated on my computer.

Running Windows 7 Ultimate x64

Any suggestions?
« Last Edit: February 10, 2010, 01:52:54 PM by brodie7838 »
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 444
    • View Profile
    • Email
Re: Suddenly Receiving java.lang.NullPointerException Error Upon Loading
« Reply #1 on: February 11, 2010, 08:36:16 AM »

It doesn't look like a problem related with the iTunes upgrade. It seems it's not possible to save the settings into the config.ini file, located under the .pulpTunes dir, under the user's home dir. Please check there isn't a permissions problem in that area, and also try deleting the .pulpTunes directory and restarting. Let me know how it goes.
Logged

brodie7838

  • Initiate
  • *
  • Posts: 2
    • View Profile
Re: Suddenly Receiving java.lang.NullPointerException Error Upon Loading
« Reply #2 on: February 11, 2010, 09:57:52 AM »

They were indeed Read Only, though I have no idea why Windows would suddenly decide everything in Application Data should be non-writable  ::). I went ahead and just deleted all PulpTunes related Application directories (I found 2 in total), and was then able to re-install error free.

Thanks, alpeb! :D
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 444
    • View Profile
    • Email
Re: Suddenly Receiving java.lang.NullPointerException Error Upon Loading
« Reply #3 on: February 11, 2010, 10:00:22 AM »

my pleasure :)
Logged