-
[dmdba@db1 ~]$ manager
-
java.io.IOException: Stream closed
-
at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
-
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142)
-
at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:155)
-
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2814)
-
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2830)
-
at java.io.ObjectInputStream$BlockDataInputStream.readUnsignedShort(ObjectInputStream.java:3319)
-
at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:3377)
-
at java.io.ObjectInputStream.readString(ObjectInputStream.java:2049)
-
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1651)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
-
at java.util.HashMap.readObject(HashMap.java:1416)
-
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-
at java.lang.reflect.Method.invoke(Method.java:498)
-
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184)
-
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2322)
-
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
-
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
-
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431)
-
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355)
-
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
-
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
-
at java.util.HashMap.readObject(HashMap.java:1418)
-
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-
at java.lang.reflect.Method.invoke(Method.java:498)
-
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184)
-
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2322)
-
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
-
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
-
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431)
-
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355)
-
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
-
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
-
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
-
at com.dameng.isql.editor.assistant.bison.BisonUtil.loadBisonDataFromFile(BisonUtil.java:599)
-
at com.dameng.isql.editor.assistant.bison.BisonUtil.getBisonStateMap(BisonUtil.java:50)
-
at com.dameng.manager.ManagerActivator$1.run(ManagerActivator.java:64)
-
at java.lang.Thread.run(Thread.java:750)
-
Exception in thread "Thread-1" java.lang.NullPointerException
-
at com.dameng.isql.editor.assistant.bison.BisonUtil.getBisonStateMap(BisonUtil.java:52)
-
at com.dameng.manager.ManagerActivator$1.run(ManagerActivator.java:64)
-
at java.lang.Thread.run(Thread.java:750)
-
An error has occurred. See the log file
-
/dm/dmdbms/tool/configuration/1692267659937.log.
-
-
-
[dmdba@db1 ~]$ more /dm/dmdbms/tool/configuration/1692267659937.log
-
!SESSION 2023-08-17 18:20:59.555 -----------------------------------------------
-
eclipse.buildId=M20110210-1200
-
java.version=1.8.0_332
-
java.vendor=Temurin
-
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=zh_CN
-
Framework arguments: -product com.dameng.manager.product
-
Command-line arguments: -os linux -ws gtk -arch x86_64 -data /dm/dmdbms/tool/workspace/manager -product com.dameng.manager.product
-
-
!ENTRY org.eclipse.osgi 2 0 2023-08-17 18:21:00.983
-
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
-
!SUBENTRY 1 org.eclipse.osgi 2 0 2023-08-17 18:21:00.983
-
!MESSAGE Bundle org.eclipse.core.filesystem.linux.x86_1.4.0.v20100505-1235 [53] was not resolved.
-
-
!ENTRY org.eclipse.osgi 4 0 2023-08-17 18:21:00.984
-
!MESSAGE Application error
-
!STACK 1
-
java.lang.IllegalStateException: The platform metadata area could not be written: /dm/dmdbms/tool/workspace/manager/.metadata. By default the platform writes its content
-
under the current working directory when the platform is launched. Use the -data parameter to
-
specify a different content area for the platform.
-
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61)
-
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:125)
-
at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)
-
at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199)
-
at org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59)
-
at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209)
-
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:289)
-
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:277)
-
at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:390)
-
at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63)
-
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:96)
-
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:85)
-
at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
-
at org.eclipse.core.runtime.preferences.InstanceScope.getNode(InstanceScope.java:71)
-
at org.eclipse.ui.preferences.ScopedPreferenceStore.getStorePreferences(ScopedPreferenceStore.java:241)
-
at org.eclipse.ui.preferences.ScopedPreferenceStore.<init>(ScopedPreferenceStore.java:133)
-
at org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore(AbstractUIPlugin.java:284)
-
at org.eclipse.ui.internal.UISynchronizer.<init>(UISynchronizer.java:88)
-
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2456)
可能是用root执行过manager,导致有些目录权限不对。
-
解决方法:
-
[dmdba@db1 workspace]$ chown -R dmdba:dinstall /dm/dmdbms/tool/workspace/manager
阅读(744) | 评论(0) | 转发(0) |