[Dev] NPE in search

Brett Wooldridge bwooldridge at alterpoint.com
Mon Mar 17 21:28:40 CDT 2008


Not sure what's going on there.  I've seen some of the IRC traffic about
having problems with the client recently.  I don't know what to say.

Today, on my Windows box I did a full extract of the head, followed by a
'clean dist' build, reloaded my Target Platform, refreshed the client
projects, and then a clean Eclipse build.  I got no compilation errors or
error markers.  I did have to deselect some plugins in the client launch
configuration -- but it was for things like org.ziptie.adapters and
org.mortbay.jetty.

However, the server started without error, and the client launched and
connected without error on either the client or the server.  I was able to
add and search for devices.

My Windows configuration looks like:
Windows XP
Eclipse 3.2
Java 1.5.xx

I'm just about to install Eclipse 3.3.x on Windows to see if I encounter any
issues with it.  However, I am running on OS X with Eclipse 3.3.x and have
not had issues launching the client or starting the server.

If you guys have done the above and are still encountering unresolvable
errors, can you send an email with error logs attached or open a defect and
attach them?  I'll try to figure out what's going on.  Also, details of your
environment might help me recreate what you are seeing.

Thanks,
Brett



On 3/18/08 3:52 AM, "Ryan Kruse" <rkruse at alterpoint.com> wrote:

> By the way, I just synced today and did a full 'ant clean dist dbreset'.
> This happens before anything is in the inventory.
>
>
>
> -----Original Message-----
> From: Ryan Kruse
> Sent: Monday, March 17, 2008 1:47 PM
> To: Leo Bayer; Brett Wooldridge
> Subject: NPE in search
>
> My client is dying immediately on startup because of this NPE in the
> client's ServiceLocator.
>
> java.lang.RuntimeException: java.lang.NullPointerException
> at
> org.ziptie.client.ServiceLocator.getService(ServiceLocator.java:158)
> at
> org.ziptie.ui.client.ServiceRegistry.getService(ServiceRegistry.java:79)
> at
> org.ziptie.rcp.ZiptieWorkbenchAdvisor.showStartupWizard(ZiptieWorkbenchA
> dvisor.java:98)
> at
> org.ziptie.rcp.ZiptieWorkbenchAdvisor.postStartup(ZiptieWorkbenchAdvisor
> .java:78)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1870)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
> 22)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.ziptie.rcp.ZiptieApplication.run(ZiptieApplication.java:115)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
> tor.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
> ion(EclipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
> seAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 176)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.NullPointerException
> at
> org.ziptie.client.ServiceLocator.getService(ServiceLocator.java:118)
> ... 20 more




More information about the Dev mailing list