[kepler-dev] Problem using the module-manager to restart Kepler
Aaron Schultz
aschultz at nceas.ucsb.edu
Wed Jun 3 18:18:07 PDT 2009
Hi David, definitely a problem with the LSIDs. I do not know how to
recreate the error though.
You can try to turn on log4j Debugging for the LSIDGenerator class to
see if that helps find the problem.
Most likely the problem is that your
.kepler/<instance>/modules/core/LastObjectId file is out of sync with
the LSIDTree
Deleting the InstanceAuthNamespace and the LastObjectId files and
restarting Kepler will likely solve the problem.
Aaron
David Welker wrote:
> Oh, and also this error prints to the command-line. The other error
> was in the Kepler GUI. It definitely seems to be LSID related. And, I
> know you love LSIDs, so I thought I would ask if you knew what might
> be going on.
>
> [run] ERROR
> (org.kepler.objectmanager.lsid.LSIDGenerator:getNewLSID:144)
> java.lang.Exception: The LSID
> urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:223:14:1 is already in use.
> [run] java.lang.Exception: The LSID
> urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:223:14:1 is already in use.
> [run] at
> org.kepler.objectmanager.lsid.LSIDGenerator.registerLSID(LSIDGenerator.java:163)
>
> [run] at
> org.kepler.objectmanager.lsid.LSIDGenerator.getNewLSID(LSIDGenerator.java:135)
>
> [run] at
> org.kepler.objectmanager.lsid.LSIDGenerator.getNewLSID(LSIDGenerator.java:112)
>
> [run] at
> org.kepler.objectmanager.ObjectManager.assignIdTo(ObjectManager.java:242)
> [run] at
> org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:152)
>
> [run] at
> org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:248)
>
> [run] at
> ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
>
> [run] at
> ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
> [run] at
> ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:412)
>
> [run] at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:376)
>
> [run] at
> ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:1045)
> [run] at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:448)
> [run] at
> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:217)
> [run] at
> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:103)
> [run] at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:193)
> [run] at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> [run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> [run] at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
>
> [run] at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>
> [run] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
> [run] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
> [run] at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>
>> Hi Aaron,
>>
>> I am getting the following problem trying to use the module manager
>> trying to restart Kepler. I suspect it might be related to LSIDs.
>> Maybe not. What do you think?
>>
>> David
>>
>>
>>
>> ptolemy.kernel.util.IllegalActionException: No Kepler ID was or could
>> be assigned to model: java.lang.NullPointerException
>> at
>> org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:173)
>>
>> at
>> org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:248)
>>
>> at
>> ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
>>
>> at
>> ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
>> at
>> ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:412)
>>
>> at
>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:376)
>>
>> at
>> ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:1045)
>> at
>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:448)
>> at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:217)
>> at
>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:103)
>> at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:193)
>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>> at
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
>>
>> at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>>
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>>
>>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
More information about the Kepler-dev
mailing list