|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[mdr-dev] WG: Repository ShutdownSorry, forgot the Exception: [org.netbeans.mdr.Logger] INFORMATIONAL ***********
Exception occurred ************ at Tue Oct 11 19:13:44 CEST 2005 org.netbeans.mdr.util.DebugException: Boot failed. at
org.netbeans.mdr.NBMDRepositoryImpl.installPureMof(NBMDRepositoryImpl.java:1398) at
org.netbeans.mdr.NBMDRepositoryImpl.boot(NBMDRepositoryImpl.java:1365) at
org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:798) at
org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:341) at de.allianz.inetbasis.generierung.xmiBridge.Reader.init(Reader.java:235) at
de.allianz.inetbasis.generierung.xmiBridge.Reader.run(Reader.java:103) at
de.allianz.inetbasis.generierung.xmiBridge.XmiBridge.run(XmiBridge.java:85) at
de.allianz.inetbasis.generierung.xmiBridge.Plugin.run(Plugin.java:36) at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276) at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206) at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at
org.eclipse.jface.action.ActionContributionItem$8.handleEvent(ActionContributionItem.java:824) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at
org.eclipse.core.launcher.Main.main(Main.java:688) ANNOTATIONS: [null] Exception occurred: *********** Exception occurred ************ at Tue
Oct 11 19:13:44 CEST 2005 org.netbeans.mdr.util.DebugException: Missing
storage files or different storage version. at
org.netbeans.mdr.storagemodel.MdrStorage.initializeIndexes(MdrStorage.java:536) at
org.netbeans.mdr.storagemodel.MdrStorage.rollback(MdrStorage.java:583) at
org.netbeans.mdr.util.TransactionMutex.end(TransactionMutex.java:73) at
org.netbeans.mdr.util.MultipleReadersMutex.leave(MultipleReadersMutex.java:173) at
org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:291) at
org.netbeans.mdr.NBMDRepositoryImpl.boot(NBMDRepositoryImpl.java:1371) at
org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:798) at
org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:341) at
de.allianz.inetbasis.generierung.xmiBridge.Reader.init(Reader.java:235) at de.allianz.inetbasis.generierung.xmiBridge.Reader.run(Reader.java:103) at
de.allianz.inetbasis.generierung.xmiBridge.XmiBridge.run(XmiBridge.java:85) at
de.allianz.inetbasis.generierung.xmiBridge.Plugin.run(Plugin.java:36) at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276) at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206) at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at
org.eclipse.jface.action.ActionContributionItem$8.handleEvent(ActionContributionItem.java:824) at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.core.launcher.Main.basicRun(Main.java:185) at
org.eclipse.core.launcher.Main.run(Main.java:704) at
org.eclipse.core.launcher.Main.main(Main.java:688) Unhandled event loop exception Reason: Error: leave() without enter(). Von: Jörg Schütz
[mailto:Joerg-Schuetz@...] Hi there, I am developing an plugin for Eclipse that is
supposed to read in an UML file and then do something with the model defined
there. To achieve this, I am using the Netbeans libraries and the Uml2Mof tool.
Being a plugin, it is also desired that a user can run the tool several times
within the same Eclipse instance (i.e. read in the first model with the tool,
then read in another one). When executing the tool several times, the model
previously read in is still in the MDRepository and the new model is simply
added, which is undesirable because only the model defined in the file read in
is to be processed. This is the case because I did not shut the Repository down
with the MDRManager.getDefault().shutdownAll() command. However, if this command is executed at the end, upon
the next invocation an Exception is thrown (see bellow). Any idea how this can
be solved? Thanks Jörg |
| Free Forum Powered by Nabble | Forum Help |