LinPiux
Posts: 3
Joined: Fri Nov 22, 2013 8:21 am

Glassfish 4 Updatetool does not run - Exception thrown

Fri Nov 22, 2013 8:29 am

I'm trying to run Glassfish 4 on my pi but am unable to run the `bin/updatetool`; it throws an exception:

Code: Select all

./updatetool 

The software needed for this command (updatetool) is not installed.

If you choose to install Update Tool, your system will be automatically
configured to periodically check for software updates. If you would like
to configure the tool to not check for updates, you can override the
default behavior via the tool's Preferences facility.

When this tool interacts with package repositories, some system information
such as your system's IP address and operating system type and version
is sent to the repository server. For more information please see:

http://wikis.oracle.com/display/updatecenter/UsageMetricsUC2

Once installation is complete you may re-run this command.

Would you like to install Update Tool now (y/n): y

Exception in thread "main" java.lang.NullPointerException
        at com.sun.pkg.client.SystemInfo.getCanonicalOSArch(SystemInfo.java:144)
        at com.sun.pkg.client.Image.loadConfig(Image.java:1313)
        at com.sun.pkg.client.Image.<init>(Image.java:1048)
        at com.sun.pkg.client.Client.main(Client.java:101)
Unrecognized exception: null
java.lang.NullPointerException
        at com.sun.pkg.client.SystemInfo.getCanonicalOSArch(SystemInfo.java:144)
        at com.sun.pkg.client.Image.loadConfig(Image.java:1313)
        at com.sun.pkg.client.Image.<init>(Image.java:1048)
        at com.sun.pkg.client.Image.<init>(Image.java:1026)
        at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:195)
        at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:163)
        at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:113)
I have also noticed that if I try to run the update tool from the web interface there are no repositories set.

I've installed using both a standalone .sh installet as well as a Netbeans bundled installer but both give the exact same result. Has anyone else come across this?

Thanks

m4r35n357
Posts: 25
Joined: Fri Jul 06, 2012 4:31 pm

Re: Glassfish 4 Updatetool does not run - Exception thrown

Sun Jul 13, 2014 9:25 pm

Confirmed, looks like the update tool does not know about the platform. Unlikely to be fixed IMO but not fatal.

Return to “Troubleshooting”