首页 / 浏览问题 / 桌面GIS / 问题详情
idesktopx 10.0.1启动报错
1EXP 2020年12月17日
使用产品:supermap-idesktopx-10.0.1-3412-win64-bin-zip-chs

问题描述:前段时间同样的环境是能启动的,今天启动开始报错。

基本环境:

 1、win10

 2、 jdk:java version "1.8.0_191"
               Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
               Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

错误日志:

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_INT_DIVIDE_BY_ZERO (0xc0000094) at pc=0x00007ffb39d9fb99, pid=20184, tid=0x0000000000000ca4

#

# JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode windows-amd64 compressed oops)

# Problematic frame:

# C  0x00007ffb39d9fb99

#

# 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.

#

---------------  T H R E A D  ---------------

Current thread (0x0000000005940800):  JavaThread "main" [_thread_in_native, id=3236, stack(0x0000000006a60000,0x0000000006b60000)]

siginfo: ExceptionCode=0xc0000094

Registers:

RAX=0x0000000000000000, RBX=0x0000000048412c80, RCX=0x00007ffb3a086548, RDX=0x0000000000000000

RSP=0x0000000006b5d8a8, RBP=0x0000000000000000, RSI=0x000000004763f780, RDI=0x000000004811e520

R8 =0x0000000048412c80, R9 =0x000000004811e840, R10=0x0000000000000580, R11=0x038168a84e000010

R12=0x0000000000000000, R13=0x0000000000000000, R14=0x00007ffb3a086548, R15=0x000000004763f780

RIP=0x00007ffb39d9fb99, EFLAGS=0x0000000000010246

1个回答

您好,上次打开iDesktopX后您对电脑做过什么操作吗?如果是软件问题您可以重新解压一遍看问题是否还存在,如果解压后还有问题可能就需要看是否是电脑本身做过什么更改,比如进行过系统升级或者修改注册表等操作,导致了这个除数为0的报错。
jjz
4,720EXP 2020年12月17日
您好,感谢您的解答。上次iDesktopX打开后倒是安装过其他软件,系统没升级。安装软件的过程中难免出现修改注册表,请问这个怎么排查呢?
部分更详细错误如下:

j  com.supermap.data.EnvironmentNative.jni_CheckOpenCLCapability()I+0

j  com.supermap.data.Environment.checkOpenCLCapability()Lcom/supermap/data/OpenCLCapability;+0

j  com.supermap.desktop.frame.ctrlAction.settings.JPanelSettingEnvironment.initComponents()V+18

j  com.supermap.desktop.frame.ctrlAction.settings.BaseSettingPanel.init()V+1

j  com.supermap.desktop.frame.ctrlAction.settings.BaseSettingPanel.<init>()V+16

j  com.supermap.desktop.frame.ctrlAction.settings.JPanelSettingEnvironment.<init>()V+1

j  com.supermap.desktop.frame.ctrlAction.settings.JDialogSettings.getRightPanel(Ljava/lang/String;)Lcom/supermap/desktop/frame/ctrlAction/settings/BaseSettingPanel;+73

j  com.supermap.desktop.frame.ctrlAction.settings.JDialogSettings.initComponents()V+59

j  com.supermap.desktop.frame.ctrlAction.settings.JDialogSettings.<init>()V+49

v  ~StubRoutines::call_stub

J 2295  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0x000000000e26b6a6 [0x000000000e26b640+0x66]

J 2294 C1 sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; (89 bytes) @ 0x000000000e48a354 [0x000000000e4892c0+0x1094]

J 1293 C1 sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; (9 bytes) @ 0x000000000e5ce10c [0x000000000e5ce000+0x10c]

J 1276 C1 java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object; (87 bytes) @ 0x000000000e5bb914 [0x000000000e5bb440+0x4d4]

J 2287 C1 java.lang.Class.newInstance()Ljava/lang/Object; (155 bytes) @ 0x000000000e314b8c [0x000000000e314260+0x92c]

j  com.supermap.desktop.core.ui.xmlStartMenus.XMLStartMenuPanel.createComponent()Ljavax/swing/JComponent;+15

j  com.supermap.desktop.core.ui.xmlStartMenus.SmStartMenuPanel.<init>(Lcom/supermap/desktop/core/ui/xmlStartMenus/XMLStartMenuPanel;)V+33

j  com.supermap.desktop.controls.ui.ApplicationMenuManager.load(Lcom/supermap/desktop/core/WorkEnvironment;)V+87

j  com.supermap.desktop.controls.ui.FormBase.loadUI()V+96

j  com.supermap.desktop.controls.ui.MainFrame$2.loadUIEvent(Lcom/supermap/desktop/core/WorkEnvironmentManager$LoadUI;)V+11

j  com.supermap.desktop.core.WorkEnvironmentManager.a(Lcom/supermap/desktop/core/WorkEnvironmentManager$LoadUI;)V+31

j  com.supermap.desktop.core.WorkEnvironmentManager.fireLoadUI()V+22

j  com.supermap.desktop.core.WorkEnvironment.a()V+100

j  com.supermap.desktop.core.WorkEnvironment.load()Ljava/lang/Boolean;+18

j  com.supermap.desktop.core.Application.initialize(Z)Z+392

j  com.supermap.desktop.core.Application.initialize()Z+16

j  com.supermap.desktop.iDesktop.Startup.main([Ljava/lang/String;)V+417

v  ~StubRoutines::call_stub

这个一般最简便的方法就是删掉软件重新解压一遍,因为您说以前可以打开现在不行,所以重新解压可以排除软件本身文件被修改的情况。如果这样操作后还是不能解决,可能还是您电脑的情况有变化,这个比较难以排查,我这里也没有太好的办法,只能由您来判断哪些更改可能导致报错。实在不行您可以试试重新安装Java环境,

最新版iDesktopX下载地址:
http://support.supermap.com.cn/DownloadCenter/DownloadPage.aspx?id=1391

您好,请问建议使用的java具体版本是多少呢?
目前我尝试过的java版本有:jdk1.8.0_191、jdk8u275-b01、jdk-9.0.4+11。无一例外错误都是一样的。
您用重新解压/重新下载的iDesktopX也是一样的报错是吗?如果是这样,那您的问题和iDesktopX确实没有太大的关系。我刚刚测试了,新电脑没有jdk都可以正常运行iDesktopX。
您好,可能是我电脑环境的问题,我再看看。另外新电脑‘没有’jdk能正常运行,是因为程序包下存在一个jre。感谢您的解答。
没事应该的。您说的没错,一般电脑不需要Java开发环境就能运行iDesktopX,一般的程序都会自带运行环境,所以上周我测试后您的报错我实在是不清楚跟什么原因有关了。
...