[Dev] NPE in search

Leo Bayer lbayer at alterpoint.com
Fri Mar 21 01:57:20 CDT 2008


I'm getting that same NoClassDefFoundError

 - Leo

Brett Wooldridge wrote:
> Try upgrading your eclipse to 3.3.  It’s a stopgap measure if it 
> works.  We still haven’t sorted out the TargetPlatform issues.
>
> -Brett
>
> On 3/21/08 5:57 AM, "Ryan Kruse" <rkruse at alterpoint.com> wrote:
>
>     I have a new error when trying to run the client from eclipse.  I
>     have the appropriate jar checked in my launch.  Any of you seeing
>     this too?
>
>     !ENTRY org.eclipse.osgi 4 0 2008-03-20 15:55:52.230
>     !MESSAGE Application error
>     !STACK 1
>     java.lang.NoClassDefFoundError: com/ibm/icu/text/Collator
>             at
>     org.eclipse.ui.internal.registry.EditorRegistry$1.<init>(EditorRegistry.java:139)
>             at
>     org.eclipse.ui.internal.registry.EditorRegistry.<clinit>(EditorRegistry.java:138)
>             at
>     org.eclipse.ui.internal.WorkbenchPlugin.getEditorRegistry(WorkbenchPlugin.java:307)
>             at
>     org.eclipse.ui.internal.EditorManager.getEditorRegistry(EditorManager.java:552)
>             at
>     org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:674)
>
>
>     I can run it fine from dist now just fine though.  This is on my
>     linux box running eclipse 3.2.2.
>
>     -Ryan
>
>     -----Original Message-----
>     From: dev-bounces at ziptie.org [mailto:dev-bounces at ziptie.org]
>     <mailto:dev-bounces at ziptie.org%5D> On Behalf Of Brett Wooldridge
>     Sent: Monday, March 17, 2008 9:29 PM
>     To: ZipTie Development List
>     Subject: Re: [Dev] NPE in search
>
>     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:7
>     > 9)
>     > at
>     > org.ziptie.rcp.ZiptieWorkbenchAdvisor.showStartupWizard(ZiptieWorkbenc
>     > hA
>     > dvisor.java:98)
>     > at
>     > org.ziptie.rcp.ZiptieWorkbenchAdvisor.postStartup(ZiptieWorkbenchAdvis
>     > or
>     > .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(PlatformActi
>     > va
>     > tor.java:78)
>     > at
>     > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplic
>     > at
>     > ion(EclipseAppLauncher.java:106)
>     > at
>     > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ecl
>     > ip
>     > 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.j
>     > av
>     > a:39)
>     > at
>     > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>     > or
>     > 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
>
>
>     _______________________________________________
>     Dev mailing list
>     Dev at ziptie.org
>     http://mailman.ziptie.org/listinfo/dev
>
>     _______________________________________________
>     Dev mailing list
>     Dev at ziptie.org
>     http://mailman.ziptie.org/listinfo/dev
>
>



More information about the Dev mailing list