Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] previous message : null createInstance incomplete

Hi Pierre,

This looks as if the JGroupsNamespace may not be set up/initialized to have a name in the application code prior to
at org.eclipse.ecf.client.jgroups.Application.start(Application.java:54)

Is this a java or eclipse application? How is the JGroupsNamespace created/initialized? Is it given a name by calling

Namespace.initialize(String name, String description)?

If the namespace is declared as a ecf namespace extension, then this method (initialize) is called automatically, but if the Namespace is added manually, then it has to be explicitly initialized.

Scott


Pierre Henry Perret wrote:


2009/6/9 Scott Lewis <slewis@xxxxxxxxxxxxxxxxx <mailto:slewis@xxxxxxxxxxxxxxxxx>>

    Hi Pierre,

    I guess I'm not yet understanding where the error is.  Is it
    JGroupsNamespace.getName() returning null?  Or is it a
    JGroupsID.getName() returning null?

Y It is


    Do you have a stack trace...that may help.  It could, of course,
    be a bug.



________________________________
java.version=1.6.0-oem
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=jgroups://192.168.0.10/jgroupsecf&stackname=tcp <http://192.168.0.10/jgroupsecf&stackname=tcp>
Framework arguments:  -os -ws -arch
Command-line arguments: -os -ws -ws win32 -arch -nl jgroups://192.168.0.10/jgroupsECF&stackName=tcp <http://192.168.0.10/jgroupsECF&stackName=tcp>

!ENTRY org.eclipse.osgi 4 0 2009-06-09 20:32:37.227
!MESSAGE Application error
!STACK 1
org.eclipse.ecf.core.identity.IDCreateException: null createInstance()
at org.eclipse.ecf.provider.jgroups.identity.JGroupsNamespace.createInstance(JGroupsNamespace.java:56)
at org.eclipse.ecf.client.jgroups.Application.start(Application.java:54)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
___________________________________________________

--
Pierre

------------------------------------------------------------------------

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top