项目使用JNative 调用dll 运行.invoke();方法报错,实在不懂为什么,错误也看不懂

鸠摩智404 2019-08-15 04:18:58

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=21208, tid=0x00002f8c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) Client VM (25.171-b11 mixed mode windows-x86 )
# Problematic frame:
# C 0x00000000
#
# 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 (0x174cec00): JavaThread "http-nio-8080-exec-10" daemon [_thread_in_native, id=12172, stack(0x1e970000,0x1e9c0000)]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x00000000

Registers:
EAX=0x00000001, EBX=0x00000000, ECX=0x1e9bd7c8, EDX=0x00b42000
ESP=0x1e9ad348, EBP=0x1e9bd4f8, ESI=0x00000000, EDI=0x000003e9
EIP=0x00000000, EFLAGS=0x00010246

Top of Stack: (sp=0x1e9ad348)
0x1e9ad348: 1f5415ae 000003e9 00000000 00000000
0x1e9ad358: 15eea840 00000000 0000000a 00000001
0x1e9ad368: 66c44773 000003e9 15eea840 174cec00
0x1e9ad378: 00000006 00000004 00000000 174ced40
0x1e9ad388: 00000020 66c4452e 174ced40 16df6354
0x1e9ad398: 00000042 1f09eb60 00000006 00000004
0x1e9ad3a8: 00000020 66c4451a 1e9ad410 16df6354
0x1e9ad3b8: 16df6338 bff00000 174ced40 1e9ad4cf

Instructions: (pc=0x00000000)
0xffffffe0:


Register to memory mapping:

EAX=0x00000001 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x1e9bd7c8 is pointing into the stack for thread: 0x174cec00
EDX=0x00b42000 is an unknown value
ESP=0x1e9ad348 is pointing into the stack for thread: 0x174cec00
EBP=0x1e9bd4f8 is pointing into the stack for thread: 0x174cec00
ESI=0x00000000 is an unknown value
EDI=0x000003e9 is an unknown value


Stack: [0x1e970000,0x1e9c0000], sp=0x1e9ad348, free space=244k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.xvolks.jnative.JNative.nInvoke(I)V+0
j org.xvolks.jnative.JNative.invoke()V+55
j com.avalonsoft.action.semh.entry.entryplan.TbEntPlanstaffAction.CVR_InitComm(I)I+30
j com.avalonsoft.action.semh.entry.entryplan.TbEntPlanstaffAction.save()Ljava/lang/String;+5578
v ~StubRoutines::call_stub
J 4527 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0x02f9d21d [0x02f9d1a0+0x7d]
J 4526 C1 sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (104 bytes) @ 0x03161118 [0x03160e40+0x2d8]
J 183 C1 sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (10 bytes) @ 0x02edd810 [0x02edd7d0+0x40]
J 182 C1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0x02edd52c [0x02edd440+0xec]
j ognl.OgnlRuntime.invokeMethod(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+401
j ognl.OgnlRuntime.callAppropriateMethod(Lognl/OgnlContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;[Ljava/lang/Object;)Ljava/lang/Object;+363
j ognl.ObjectMethodAccessor.callMethod(Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+59
j com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+6
j com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+230
j ognl.OgnlRuntime.callMethod(Lognl/OgnlContext;Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;+42
j ognl.ASTMethod.getValueBody(Lognl/OgnlContext;Ljava/lang/Object;)Ljava/lang/Object;+63
J 4909 C1 ognl.SimpleNode.evaluateGetValueBody(Lognl/OgnlContext;Ljava/lang/Object;)Ljava/lang/Object; (68 bytes) @ 0x02f93a90 [0x02f939a0+0xf0]
J 4908 C1 ognl.SimpleNode.getValue(Lognl/OgnlContext;Ljava/lang/Object;)Ljava/lang/Object; (177 bytes) @ 0x02f93ef8 [0x02f93d90+0x168]
J 5277 C1 ognl.Ognl.getValue(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; (83 bytes) @ 0x02fabca0 [0x02fabb60+0x140]
J 5315 C1 ognl.Ognl.getValue(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; (8 bytes) @ 0x02fc6370 [0x02fc6340+0x30]
j com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(Ljava/lang/Object;)Ljava/lang/Object;+9
j com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(Ljava/lang/String;Ljava/util/Map;Lcom/opensymphony/xwork2/ognl/OgnlUtil$OgnlTask;)Ljava/lang/Object;+56
j com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(Ljava/lang/String;Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object;+13
j com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(Ljava/lang/Object;Lcom/opensymphony/xwork2/config/entities/ActionConfig;)Ljava/lang/String;+88
j com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly()Ljava/lang/String;+14
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+142
j org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+425
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+91
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+6
j org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+53
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+200
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+144
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+144
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+497
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.MultiselectInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+129
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+515
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.CheckboxInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+197
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.FileUploadInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+82
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+73
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+179
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+30
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+116
j com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+10
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.I18nInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+116
j com.opensymphony.xwork2.DefaultActionInvocation.invoke()Ljava/lang/String;+113
j org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(Lcom/opensymphony/xwork2/ActionInvocation;)Ljava/lang/String;+246
j com.opensymphony.xw
...全文
172 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,628

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧