Java + Angry IP Scanner error

Angry IP scanner was quitting each time I started the application, and looking at Console I saw these errors:

06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190] [LaunchRunner Error] No main class specified
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190] Exception in thread "main" java.lang.NullPointerException
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190]  at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
06/11/08 11:34:15 [0x0-0x1f01f].net.azib.ipscan[190]  at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
06/11/08 11:34:15 com.apple.launchd[97] ([0x0-0x1f01f].net.azib.ipscan[190]) Exited with exit code: 1

After some googling I came upon this website.

Following the (long/first) instructions did solve the problem, and I can now run the application.

Only skipping #9, as I could not find the “CFBundleExecutable”, and simply renaming the old ipscan to ipscan.bak, and renaming JavaApplicationStub to ipscan.

Leave a Reply...