首页 / 浏览问题 / 组件GIS / 问题详情
iDesktopX 11i设置setMarkerFile就崩溃
121EXP 2023年08月01日
使用产品:SuperMap iDesktopX 11i (V11.0.1) SuperMap iDesktopX 11i(2022) SP1 for Windows(x64)(安装包) (20 22-10-31) 下面代码如果打开注释的这一行直接崩溃, geoStyle3D.setMarkerFile(wl_url);这个wl_url=C:\Users\Administrator\Desktop\testdata\1.3ds,是一个3ds格式的文件 Layer3DSettingVector layer3DSettingVector2 = new Layer3DSettingVector(); GeoStyle3D geoStyle3D2 = new GeoStyle3D(); geoStyle3D2.setMarkerColor(Color.blue); geoStyle3D2.setMarkerSize(10); // geoStyle3D.setMarkerFile(wl_url); layer3DSettingVector2.setStyle(geoStyle3D2); Layer3DDataset layer3DDatasetPoint = scene.getLayers().add(wl_3d, layer3DSettingVector, true); 崩溃日志如下(拷贝不全) # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffcb974cf19, pid=11428, tid=0x0000000000001ce8 # # JRE version: Java(TM) SE Runtime Environment (8.0_301-b09) (build 1.8.0_301-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.301-b09 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [KERNELBASE.dll+0x2cf19] # # 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 (0x0000025790840800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=7400, stack(0x000000bfc2500000,0x000000bfc2600000)] siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x0000000019930520 0x000000bfc25fccb0 0x00007ffc3c516d48 0x00007ffc3c1d0000 Registers: RAX=0x00000003fffffffd, RBX=0x00007ffc3c516d48, RCX=0x00000257bcc60000, RDX=0x000000bfc25fc584 RSP=0x000000bfc25fcb20, RBP=0x000000bfc25fcc60, RSI=0x000002579fba2fb8, RDI=0x000000bfc25fccb0 R8 =0x00007ffca7a64569, R9 =0x00000257f5c40000, R10=0x00000257b8a76280, R11=0x00000257b80d93da R12=0x00000257bd072620, R13=0x00000257a85b1c70, R14=0x0000000000000020, R15=0x000002579fd09b00 RIP=0x00007ffcb974cf19, EFLAGS=0x0000000000000206 Top of Stack: (sp=0x000000bfc25fcb20) 0x000000bfc25fcb20: 0000000000000000 00007ffc3c516d48 0x000000bfc25fcb30: 000002579fba2fb8 0000000000000006 0x000000bfc25fcb40: 00000001e06d7363 0000000000000000 0x000000bfc25fcb50: 00007ffcb974cf19 0000025700000004 0x000000bfc25fcb60: 0000000019930520 000000bfc25fccb0 0x000000bfc25fcb70: 00007ffc3c516d48 00007ffc3c1d0000 0x000000bfc25fcb80: 00000257a85b1c70 00000257bd072620 0x000000bfc25fcb90: 000002579fba2fb8 000000bfc25fcc60 0x000000bfc25fcba0: 000000bfc25fcc70 00007ffcbbfe4a5f 0x000000bfc25fcbb0: 000000bfc25fccb0 000000bf00000000 0x000000bfc25fcbc0: 0000000000000020 000000bfc25fccb0 0x000000bfc25fcbd0: 00007ffc3c606000 00007ffc3c1d0000 0x000000bfc25fcbe0: 00004b82ff61358d 0000000000000087 0x000000bfc25fcbf0: 00007ffc3c516d48 00007ffcb4cb485d 0x000000bfc25fcc00: fffffffffffffffe 00000257b8a73020 0x000000bfc25fcc10: 00000257a7a47b70 00007ffc3c1d782c Instructions: (pc=0x00007ffcb974cf19) 0x00007ffcb974cef9: 8b d1 44 0f 47 c0 44 89 44 24 38 49 c1 e0 03 e8 0x00007ffcb974cf09: ea 90 08 00 48 8d 4c 24 20 48 ff 15 ff 80 1b 00 0x00007ffcb974cf19: 0f 1f 44 00 00 48 8b 8c 24 c0 00 00 00 48 33 cc 0x00007ffcb974cf29: e8 52 85 06 00 48 81 c4 d8 00 00 00 c3 cc 83 64 Register to memory mapping: RAX=0x00000003fffffffd is an unknown value RBX=0x00007ffc3c516d48 is an unknown value RCX=0x00000257bcc60000 is an unknown value RDX=0x000000bfc25fc584 is pointing into the stack for thread: 0x0000025790840800 RSP=0x000000bfc25fcb20 is pointing into the stack for thread: 0x0000025790840800 RBP=0x000000bfc25fcc60 is pointing into the stack for thread: 0x0000025790840800 RSI=0x000002579fba2fb8 is an unknown value RDI=0x000000bfc25fccb0 is pointing into the stack for thread: 0x0000025790840800 R8 =0x00007ffca7a64569 is an unknown value R9 =0x00000257f5c40000 is an unknown value R10=0x00000257b8a76280 is an unknown value R11=0x00000257b80d93da is an unknown value R12=0x00000257bd072620 is an unknown value R13=0x00000257a85b1c70 is an unknown value R14=0x0000000000000020 is an unknown value R15=0x000002579fd09b00 is an unknown value Stack: [0x000000bfc2500000,0x000000bfc2600000], sp=0x000000bfc25fcb20, free space=1010k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [KERNELBASE.dll+0x2cf19] C [vcruntime140.dll+0x485d] C 0x00007ffc3c1d92f5 C 0x00007ffc3c393785 C 0x00007ffc3c6acde4 C 0x000002579738b5be C 0x000002579738c0ed C 0x000002579738d236 C 0x0000025797a92d7e C 0x0000025797a8b06d C 0x0000025797a42c69 C 0x0000025797875861 C 0x000002579789674d C 0x0000025797897c3a C 0x00000257975324f7 C [SuGraphics3D.dll+0x3b731] C [SuGraphics3D.dll+0x35bda] C 0x0000025797879479 C 0x0000025782556ef2 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 13209 com.supermap.ui.SceneControlNative.jni_Render(Ljava/awt/Component;J)V (0 bytes) @ 0x0000025782556e55 [0x0000025782556e00+0x55] j com.supermap.ui.SceneControl.render()V+27 J 13208 C1 com.supermap.ui.SceneControl_this_ActionAdapter.actionPerformed(Ljava/awt/event/ActionEvent;)V (9 bytes) @ 0x000002578255887c [0x00000257825586c0+0x1bc] J 12017 C2 javax.swing.Timer$DoPostEvent.run()V (95 bytes) @ 0x00000257822b2ce8 [0x00000257822b2960+0x388] J 6624 C2 java.awt.EventQueue$3.run()Ljava/lang/Void; (60 bytes) @ 0x000002578123c7b8 [0x000002578123c420+0x398] J 7984 C2 java.awt.EventQueue$3.run()Ljava/lang/Object; (5 bytes) @ 0x0000025781544d14 [0x0000025781544ce0+0x34] v ~StubRoutines::call_stub J 1163 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x0000025780406fe6 [0x0000025780406f80+0x66] J 7863 C2 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (80 bytes) @ 0x0000025781518ff8 [0x00000257815186c0+0x938] J 11710 C2 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V (190 bytes) @ 0x0000025780e31110 [0x0000025780e30f40+0x1d0] J 11113% C2 java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V (47 bytes) @ 0x000002578035b680 [0x000002578035b580+0x100] j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000002579daa0000 JavaThread "SwingWorker-pool-15-thread-1" daemon [_thread_blocked, id=13840, stack(0x000000bfc3b40000,0x000000bfc3c40000)] 0x000002579da9d000 JavaThread "Swing-Shell" daemon [_thread_blocked, id=4976, stack(0x000000bfc3740000,0x000000bfc3840000)] 0x000002579da9d800 JavaThread "userExperience" daemon [_thread_blocked, id=248, stack(0x000000bfc1e00000,0x000000bfc1f00000)] 0x000002579246a000 JavaThread "WorkspaceTempSave" daemon [_thread_blocked, id=11596, stack(0x000000bfc2400000,0x000000bfc2500000)] 0x000002579246c800 JavaThread "SUPERMAP_IDESKTOP_THREAD_CTRL_ACTION_LOADER" daemon [_thread_blocked, id=13864, stack(0x000000bfc4440000,0x000000bfc4540000)] 0x000002579246b000 JavaThread "pool-2-thread-10" [_thread_blocked, id=13348, stack(0x000000bfc4140000,0x000000bfc4240000)] 0x000002579246b800 JavaThread "pool-2-thread-9" [_thread_blocked, id=412, stack(0x000000bfc3e40000,0x000000bfc3f40000)] 0x000002579246d000 JavaThread "FreshEventHandlerThread1" [_thread_blocked, id=13988, stack(0x000000bfc3d40000,0x000000bfc3e40000)] 0x0000025792468000 JavaThread "FreshEventHandlerThread0" [_thread_blocked, id=8016, stack(0x000000bfc3c40000,0x000000bfc3d40000)] 0x0000025792460800 JavaThread

1个回答

您好,3ds模型符号请导入点符号库,作为三维点符号使用,

setMarkerFile接口是用来设置图标文件的,图标文件是图片。

您后续问题可以将您的问题、代码、报错等信息更清晰的排版以及描述,以方便我们可以更好认知情况,帮您解决遇到的问题。

希望可以帮助到您。
9,653EXP 2023年08月02日
...