Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3682788
  • 博文数量: 715
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(715)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

分类: 数据库开发技术

2023-08-21 11:37:27


  1. [dmdba@db1 ~]$ manager
  2. java.io.IOException: Stream closed
  3.         at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67)
  4.         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142)
  5.         at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:155)
  6.         at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2814)
  7.         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2830)
  8.         at java.io.ObjectInputStream$BlockDataInputStream.readUnsignedShort(ObjectInputStream.java:3319)
  9.         at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:3377)
  10.         at java.io.ObjectInputStream.readString(ObjectInputStream.java:2049)
  11.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1651)
  12.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
  13.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
  14.         at java.util.HashMap.readObject(HashMap.java:1416)
  15.         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  16.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  17.         at java.lang.reflect.Method.invoke(Method.java:498)
  18.         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184)
  19.         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2322)
  20.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
  21.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
  22.         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431)
  23.         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355)
  24.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
  25.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
  26.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
  27.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
  28.         at java.util.HashMap.readObject(HashMap.java:1418)
  29.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  30.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  31.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  32.         at java.lang.reflect.Method.invoke(Method.java:498)
  33.         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184)
  34.         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2322)
  35.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
  36.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
  37.         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2431)
  38.         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2355)
  39.         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2213)
  40.         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1669)
  41.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
  42.         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
  43.         at com.dameng.isql.editor.assistant.bison.BisonUtil.loadBisonDataFromFile(BisonUtil.java:599)
  44.         at com.dameng.isql.editor.assistant.bison.BisonUtil.getBisonStateMap(BisonUtil.java:50)
  45.         at com.dameng.manager.ManagerActivator$1.run(ManagerActivator.java:64)
  46.         at java.lang.Thread.run(Thread.java:750)
  47. Exception in thread "Thread-1" java.lang.NullPointerException
  48.         at com.dameng.isql.editor.assistant.bison.BisonUtil.getBisonStateMap(BisonUtil.java:52)
  49.         at com.dameng.manager.ManagerActivator$1.run(ManagerActivator.java:64)
  50.         at java.lang.Thread.run(Thread.java:750)
  51. An error has occurred. See the log file
  52. /dm/dmdbms/tool/configuration/1692267659937.log.


  53. [dmdba@db1 ~]$ more /dm/dmdbms/tool/configuration/1692267659937.log
  54. !SESSION 2023-08-17 18:20:59.555 -----------------------------------------------
  55. eclipse.buildId=M20110210-1200
  56. java.version=1.8.0_332
  57. java.vendor=Temurin
  58. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=zh_CN
  59. Framework arguments: -product com.dameng.manager.product
  60. Command-line arguments: -os linux -ws gtk -arch x86_64 -data /dm/dmdbms/tool/workspace/manager -product com.dameng.manager.product

  61. !ENTRY org.eclipse.osgi 2 0 2023-08-17 18:21:00.983
  62. !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:
  63. !SUBENTRY 1 org.eclipse.osgi 2 0 2023-08-17 18:21:00.983
  64. !MESSAGE Bundle org.eclipse.core.filesystem.linux.x86_1.4.0.v20100505-1235 [53] was not resolved.

  65. !ENTRY org.eclipse.osgi 4 0 2023-08-17 18:21:00.984
  66. !MESSAGE Application error
  67. !STACK 1
  68. java.lang.IllegalStateException: The platform metadata area could not be written: /dm/dmdbms/tool/workspace/manager/.metadata. By default the platform writes its content
  69. under the current working directory when the platform is launched. Use the -data parameter to
  70. specify a different content area for the platform.
  71.         at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61)
  72.         at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:125)
  73.         at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)
  74.         at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199)
  75.         at org.eclipse.core.internal.preferences.InstancePreferences.<init>(InstancePreferences.java:59)
  76.         at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209)
  77.         at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:289)
  78.         at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:277)
  79.         at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:390)
  80.         at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63)
  81.         at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:96)
  82.         at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:85)
  83.         at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
  84.         at org.eclipse.core.runtime.preferences.InstanceScope.getNode(InstanceScope.java:71)
  85.         at org.eclipse.ui.preferences.ScopedPreferenceStore.getStorePreferences(ScopedPreferenceStore.java:241)
  86.         at org.eclipse.ui.preferences.ScopedPreferenceStore.<init>(ScopedPreferenceStore.java:133)
  87.         at org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore(AbstractUIPlugin.java:284)
  88.         at org.eclipse.ui.internal.UISynchronizer.<init>(UISynchronizer.java:88)
  89.         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2456)
可能是用root执行过manager,导致有些目录权限不对。

  1. 解决方法:
  2. [dmdba@db1 workspace]$ chown -R dmdba:dinstall /dm/dmdbms/tool/workspace/manager

阅读(849) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~