elipse - problem with closing and relaunching [message #326376] |
Tue, 18 March 2008 13:38 |
Eclipse User |
|
|
|
Originally posted by: edward.blaszczok.comarch.pl
Hi,
I'm running an eclipse platform from my java application using org.eclipse.core.launcher.Main class.
It works correct, but when I try to close eclipse I get the following exception:
!ENTRY org.eclipse.ui.ide 4 4 2008-03-18 13:01:55.453
!MESSAGE Problems saving workspace
!ENTRY org.eclipse.ui.ide 2 1 2008-03-18 13:01:55.468
!MESSAGE Problems occurred while trying to save the state of the workbench.
!SUBENTRY 1 org.eclipse.core.resources 2 566 2008-03-18 13:01:55.468
!MESSAGE Problems occurred during save.
!STACK 0
org.hibernate.console.HibernateConsoleRuntimeException: Could not write state
at org.hibernate.console.KnownConfigurations.writeStateTo(Known Configurations.java:253)
at org.hibernate.eclipse.console.HibernateConsolePlugin.writeSt ateTo(HibernateConsolePlugin.java:238)
at org.hibernate.eclipse.console.HibernateConsoleSaveParticipan t.saving(HibernateConsoleSaveParticipant.java:59)
at org.eclipse.core.internal.resources.SaveManager.executeLifec ycle(SaveManager.java:322)
at org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa nager.java:151)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.resources.SaveManager.broadcastLif ecycle(SaveManager.java:154)
at org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:955)
at org.eclipse.core.internal.resources.Workspace.save(Workspace .java:1764)
at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor$3.run(IDEWor kbenchAdvisor.java:367)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
Caused by: javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:\E:\workspace_tst\.metadata\.plugins\org.hibernate.ecli pse.console\hibernate-console.xml-22 (The filename, directory name, or volume label syntax is incorrect)
at org.apache.xalan.transformer.TransformerIdentityImpl.createR esultContentHandler(TransformerIdentityImpl.java:245)
at org.apache.xalan.transformer.TransformerIdentityImpl.transfo rm(TransformerIdentityImpl.java:278)
at org.hibernate.console.KnownConfigurations.writeXml(KnownConf igurations.java:270)
at org.hibernate.console.KnownConfigurations.writeStateTo(Known Configurations.java:247)
... 10 more
Caused by: java.io.FileNotFoundException: file:\E:\workspace_tst\.metadata\.plugins\org.hibernate.ecli pse.console\hibernate-console.xml-22 (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.apache.xalan.transformer.TransformerIdentityImpl.createR esultContentHandler(TransformerIdentityImpl.java:235)
... 13 more
------------------------------------------------------------ ----
Of course hibernate-console.xml-22 exists and it looks OK.
The second problem occurs when I try to relaunch eclipse platform.
In this case I get the following exception:
!SESSION Mon Mar 17 17:08:43 CET 2008 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2008-03-17 17:08:43.843
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
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 com.comarch.insight.console.action.bpm.gui.EclipseEditor.inv okeFramework(EclipseEditor.java:518)
at com.comarch.insight.console.action.bpm.gui.EclipseEditor.bas icRun(EclipseEditor.java:396)
at com.comarch.insight.console.action.bpm.gui.EclipseEditor.run (EclipseEditor.java:1133)
at com.comarch.insight.console.action.bpm.EditDefinitionAction$ 2.run(EditDefinitionAction.java:86)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Native Library E:\OSS4_src\eclipse\configuration\org.eclipse.osgi\bundles\1 112\1\.cp\swt-win32-3235.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:433)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
... 9 more
------------------------------------------------------------ ----
Is it possible to unload swt-win32-3235.dll from the classloader before eclipse restart?
Could anyone help me to solve those problems?
Best Regards,
Edward
|
|
|
Powered by
FUDForum. Page generated in 0.03636 seconds