Exception launching on MacBook Pro
Hi,
When I try to launch Screen Scraper Pro, I get the following exception in my console.log
Stack Trace
java.lang.NullPointerException
at com.screenscraper.view.ViewTree.loadScrapingSessions(ViewTree.java471)
at com.screenscraper.view.ViewTree.handleAppEvent(ViewTree.java1013)
at com.screenscraper.controller.ControllerMainFrame.handleAppEvent(ControllerMainFrame.java315)
at com.screenscraper.controller.ControllerMainFrame.init(ControllerMainFrame.java77)
at com.screenscraper.controller.ControllerMain.init(ControllerMain.java78)
at com.screenscraper.controller.ControllerMain.
at com.screenscraper.controller.ControllerMain.launchWorkbench(ControllerMain.java582)
at com.screenscraper.controller.ControllerMain.main(ControllerMain.java555)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java25)
at java.lang.reflect.Method.invoke(Method.java585)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java25)
at java.lang.reflect.Method.invoke(Method.java585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java52)
This Application has Unexpectedly Quit Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[JavaAppLauncher] application launched with ppc-thin application stub. Using native application stub instead.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
So I can't seem to run the app. Does Screen-Scraper Pro work on an Intel Mac? Are there any JNI libraries that it uses that must be compiled native?
Thanks,
Brendan
Exception launching on MacBook Pro
Hi Brendan,
Running two separate instances simultaneously could cause issues. If you want to do this in the future, this FAQ might help: here.
As to the universal binary issue, we use InstallAnywhere to handle launching screen-scraper, so if they support it, we'll be able to support. I'll take a look to see if they've added support for that. Either way, though, once screen-scraper launches, it's pure Java, so it shouldn't make a difference either way in terms of performance.
Kind regards,
Todd Wilson
Possible solution
I'm not sure if this is what caused the problem, but it seems likely. I accidentally started up a very old version of screen-scraper and when I went to start up the current release of screen-scraper (which I had stored in a different folder), that's when the crash happened. I re-installed and deleted the old version and now it seems to work.
The application does say that it's a PowerPC app instead of Universal though. Not sure if it will help with performance or not if it's re-compiled as a Universal Binary.
Thanks,
Brendan