首页 / 浏览问题 / 组件GIS / 问题详情
操作工作空间报错
16EXP 2022年10月14日
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000038c79853, pid=3720, tid=0x0000000000002f7c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [SuSymbol.dll+0x49853]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.supermap.data.WorkspaceNative.jni_Save(J)Z+0
j  com.supermap.data.Workspace.save()Z+33
j  com.supermap.extend.base.SmBasicClass.InitalTempUDB(Ljava/lang/String;)Z+475
j  com.supermap.extend.base.SmBasicClass.InitalBasicClass(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V+324
j  com.supermap.extend.initial.InitialWorkSpace.init()V+62
j  javax.servlet.GenericServlet.init(Ljavax/servlet/ServletConfig;)V+6
j  org.apache.catalina.core.StandardWrapper.initServlet(Ljavax/servlet/Servlet;)V+79
j  org.apache.catalina.core.StandardWrapper.loadServlet()Ljavax/servlet/Servlet;+363
j  org.apache.catalina.core.StandardWrapper.load()V+2
j  org.apache.catalina.core.StandardContext.loadOnStartup([Lorg/apache/catalina/Container;)Z+157
j  org.apache.catalina.core.StandardContext.startInternal()V+1258
j  org.apache.catalina.util.LifecycleBase.start()V+210
j  org.apache.catalina.core.ContainerBase$StartChild.call()Ljava/lang/Void;+4
j  org.apache.catalina.core.ContainerBase$StartChild.call()Ljava/lang/Object;+1
j  java.util.concurrent.FutureTask.run()V+42
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

1个回答

您好,请问您使用的是 SuperMap iObjects Java 组件哪个版本呢?具体是对 Workpsace 对象进行怎样的操作导致 JVM 虚拟机崩溃的呢?由于目前的信息较少,暂时只能提供以下建议可供参考:

  1. 升级 SuperMap iObjects Java 组件到 11i 正式版;
  2. 升级 JDK 1.8.0_131-b11 到较新的 JDK 1.8_3** 版本;
  3. 如果您使用的 IDEA 编译器的话,建议您将调试配置中的 Jre 环境改为 iObjects Java 组件包自带的 Jre。

希望可以帮到您。

2,258EXP 2022年10月14日
我使用80坐标的地图打开就没有问题,但是打开2000坐标的就报上面的错误

使用的版本是8c的。我换成11的 new Workspace()报错

2022-10-14 15:05:28,780 [ERROR] -java.lang.IllegalStateException: connect types is: 20002 , 20075 , 20001 , 20074 , 20065 , 20066 , 20070 , 20071 , 65400 , 65401 , 65402 , 65403 , 65404 , 65405 , 65406 , 65407 , 65408 , 65409 , 65410 , 65411 , 65412 , hasp_container_not_found
com.supermap.data.Toolkit.verifyLicense(SourceFile:156)
com.supermap.data.Workspace.c(SourceFile:96)
com.supermap.data.Workspace.b(SourceFile:67)
com.supermap.data.Workspace.<init>(SourceFile:55)
com.supermap.extend.base.SmBasicClass.InitalBasicClass(SmBasicClass.java:98)
com.supermap.extend.initial.InitialWorkSpace.init(InitialWorkSpace.java:57)
javax.servlet.GenericServlet.init(GenericServlet.java:158)
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4931)
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:748)
您好,8C系列的版本目前已经过了维保期,建议您更新到 11i 版本,针对您粘贴的报错信息可以看出是许可不匹配造成的问题,您从8C升级到11i,需要重新申请11i正式版的许可 https://www.supermapol.com/subscription/time-license/object。
...