许一时情话
许一时情话
关注数: 3
粉丝数: 54
发帖数: 223
关注贴吧数: 22
java JVM崩溃求大神解答 # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x3bba6670, pid=1836, tid=2660 # # JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15) # Java VM: Java HotSpot(TM) Client VM (24.79-b02 mixed mode windows-x86 ) # Problematic frame: # C [facematcherdll.dll+0x6670] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # D:\myeclipse_youth\mywork\work\com.shixu.faceui\hs_err_pid1836.log # # If you would like to submit a bug report, please visit: # http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fbugreport.java.com%2Fbugreport%2Fcrash.jsp&urlrefer=a2c9922d4b6863d6efc637d4b376057f # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # *************** [nvssdk]Update time : 2013-07-29 *************** 在调用库文件的时候崩溃的,单独的调用是没问题的,放到项目中就有问题了 f.write(_lpStreamData.getByteArray(iOffset, iJpgSize)); f.flush(); String fileName = strDate + ".jpg"; // //测试 // String fileName = "WCB.jpg"; String featureUrl = FaceConfig.RECORD_SB_IMGURL + strDate + ".jpg"; // 做其他处理 // 获取人脸特征 float[] resu = FaceMatcher.getInfo(featureUrl); System.out.println("获取人脸特征---"); // 服务器请求地址 String url = FaceConfig.SERVER_URL + "record/addRecord.do"; // 将float数组转化为字符串 String res = faceUtil.StringBuffer(resu); // 弹出对话框 显示信息 PopWindow.main(featureUrl, "。。。。。。。。。。。。。"); float[] resu = FaceMatcher.getInfo(featureUrl);这句代码崩溃的。 求大神解答了
jna调用其他语言报错,大神求助啊,刚接触这个 Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'Init': 找不到指定的程序。 at com.sun.jna.Function.<init>(Function.java:179) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:350) at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:330) at com.sun.jna.Library$Handler.invoke(Library.java:203) at com.sun.proxy.$Proxy0.Init(Unknown Source) at src.Testqwer.main(Testqwer.java:58) Load avnetsdk library dynamically avnetsdk module handle: 00000000 load configsdk dynamically! -------------------------------------------- public static YKCameraLibrary ykCameraLibrary = (YKCameraLibrary) Native.loadLibrary( "C:\\Users\\beiyong\\Desktop\\DHNetDemo\\YKCameraLibrary", YKCameraLibrary.class); // ***************** 系统信息 ******************** // 获得最近错误消息; public String GetLastError(); // ***************** 系统起止操作 ***************** // 初期化...:配置用户识别码CODE。 boolean Init(int iUserCode,int se,int er); public boolean YK_Init(int iUserCode); // 结束释放所有资源... public void Over(); // ***************** 设备登入、登出阶段 ***************** // 连接远程设备; public long ConnetDevice(String strIPAddr, short wPort, String strLoginName, String strLoginPass); // 断开远程设备; public void DiscDevice(long lDeviceID); // ***************** 设备回调函数 ***************** // 用户掉线处理... public void CallBack_DropLine(long lDeviceID, // 设备ID String strDVRIP, // 设备IP地址 int nDVRPort, // 设备端口号 int iUserCode); // ***************** 系统初始化阶段 ***************** public long Call_ConnetDevice( // 【调用】 连接远程设备; 【返回】 创建设备的识别码! String strIPAddr, // 远程IP地址 short wPort, // 远程端口号 String strLoginName, // 远程登录账户名 String strLoginPass); public void Call_DiscDevice(long lDeviceID); } public static void main(String[] args) { boolean bool = YKCameraLibrary.ykCameraLibrary.Init(15,12,10); System.out.println(bool+""); } 那个loadLibrary里面不写路径他就找不到.dll文件
jna调用其他语言报错 求大神解决啊,没弄过这个
各位大神 新手求助JS显示图片问题 function audit2(){ var row = $('#datagrid').datagrid('getSelected'); if (row){ var userinfo_headimg = "D:\face\Image\demo1.jpg"; var userinfo_idcardpos = row.userinfo_idcardpos; var userinfo_idcardneg = row.userinfo_idcardneg; var userinfo_handidcard = row.userinfo_handidcard; document.write("<img src='\face\Image\demo1.jpg'/>"); //var reg=new RegExp(" ","g"); //创建正则RegExp对象 //userinfo_headimg=userinfo_headimg.replace(reg,""); var newwindow = window.open("", "", "width=600,height=400"); newwindow.document.write("<img src='/face/Image/demo1.jpg'/>"); //document.write("<img src=userinfo_handidcard/>"); }else{ $.messager.alert('提示', '请选择要编辑的记录!', 'error'); } } 为了测试,我把里面路径写死了 但不管怎么换路径一直返回不回来
大神 求救 mysql 插入新数据返回最后插入的用户ID无效 贴上代码,代码中LAST_INSERT_ID() 没起到作用 select LAST_INSERT_ID() insert into youth_userinfo(userinfo_id,userinfo_phone,userinfo_pwd,userinfo_registerdate) values (#{userinfo_id},#{userinfo_phone},#{userinfo_pwd},#{userinfo_registerdate})
大神 求救 mysql 插入新数据返回最后插入的用户ID无效 贴上代码,代码中LAST_INSERT_ID() 没起到作用 select LAST_INSERT_ID() insert into youth_userinfo(userinfo_id,userinfo_phone,userinfo_pwd,userinfo_registerdate) values (#{userinfo_id},#{userinfo_phone},#{userinfo_pwd},#{userinfo_registerdate})
南京安卓开发 在南京找了三天安卓开发实习生,面了2家培训机构,两家靠谱的公司,问了一系列技术方面问题后,,让我等通知,还有两家0基础,一家岗前培训,提供住宿,补贴500一个月,一家游戏开发,前两个月无工资,后面1000到2000..明天没面试通知了,,咋办呢
安卓Service用handler传递消息给Activity,求大神解惑 handler设为全局变量 自定义MyApplication MyApplication: public void onCreate() { mMediaPlayer = new MediaPlayer(); handler = new MyHandler(); } public void setHandler(MyHandler handler) { this.handler = handler; } public MyHandler getHandler() { return handler; } Service: handler.postDelayed(updateRunnable,100); final Runnable updateRunnable = new Runnable() { @Override public void run() { final int j = mMediaPlayer.getCurrentPosition(); Message message = new Message(); message.obj = j; message.what = CHANGE; handler.sendMessage(message); System.out.println("handler"); handler.postDelayed(updateRunnable,100); } }; Activity: public static class MyHandler extends Handler { public void HandleMessage(Message msg) { super.handleMessage(msg); if(msg.what == CHANGE) { System.out.println("更新进度条"); int currenttime = (Integer) msg.obj; Timebar.setProgress(currenttime); } } } 运行后“handler”能打印出来,handler能传递出去消息,但是Avtivity中“更新进度条”不打印,这边消息接收不到,进度条不跟新。各位知道的求解惑,谢谢啦
去高河火车站的公交车末班车是几点 知道的回答下吧,,明天好安排
1
下一页