码迷,mamicode.com
首页 >  
搜索关键字:caused by: java.util.nosuchelementexception    ( 905个结果
Fragment嵌套fragment出现的两种错误No view found for id for fragment 与Can not perform this action after onSave
一:错误:java.lang.IllegalArgumentException:No view found for id for fragment 在程序中嵌套使用Fragment,实现Fragment中动态加载新的Fragment。程序初始运行时没问题,但运行中时提示:(锁屏,恢复操作。) Caused by: java.lang.IllegalArgumentExcep...
分类:其他好文   时间:2015-04-15 19:37:37    阅读次数:479
Could not create pool connection. The DBMS driver exception was: Io 异常: Broken pipe
现场同事反馈:中间件weblogic连不上数据库Oracle,发回日志可以看到:     Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io 异常: B...
分类:数据库   时间:2015-04-14 21:40:41    阅读次数:367
Caused by: java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor
Bitmap bmp =BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher); Paint paint = new Paint(); paint...
分类:编程语言   时间:2015-04-13 16:26:01    阅读次数:639
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'content' a
1、错误描述 org.hibernate.exception.DataException: could not execute statement at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:69) at org.hibernate.exc...
分类:数据库   时间:2015-04-13 00:26:08    阅读次数:412
AndroidRuntime: android.app.RemoteServiceException: Bad notification posted from package
在使用RemoteView创建自定义通知视图的时候一启动通知栏应用就停止运行。查看错误提示,开始时为StatusBar: Caused by: android.content.res.Resources$NotFoundException: File res/drawable/fm_statusba...
分类:移动开发   时间:2015-04-11 20:42:17    阅读次数:247
hibernate学习笔记(二)
一.昨天看hibernate时候写了一个小demo,一个junit,等着出现绿色的时候却出现了红色,这是什么情况,仔细一看出现了一个这样的错误:caused by:java.sql.SQLException:could not retrieve transation read-only status...
分类:Web程序   时间:2015-04-10 17:45:19    阅读次数:145
Hibernate注解
好久就想玩一下hibernate注解了(因为不用hbm文件,维护起来也简单,灵活性较高,适应需求变化作出快速变动,还有一些好处就不一一例举啦),但是没有时间,今天搞了一下,碰个几个问题,我想这应该也就新手最容易碰的。问题有三: 第一、Caused by: com.mysql.jdbc.except....
分类:Web程序   时间:2015-04-10 13:21:03    阅读次数:221
Android JNI找不到第三方库的解决方案 cannot load library
最近做一个jni项目,拿到的so库需要用jni封装一层,等于是在jni的C++代码里调用第三方库的方法,然后整个项目在Android上运行出结果。 自己用jni生成的so是libaa.so 使用的第三方库是libbb.so。 到目前为止,遇到的问题是libbb各种找不到。libbb库去哪儿了? E/AndroidRuntime(11626): Caused by: java.lang...
分类:移动开发   时间:2015-04-09 17:38:59    阅读次数:160
JAVA 开发常见问题解决
MySQL 表存在两个字段类型是TIMESTAMP 的时候,经常出现问题如下: Caused by: java.sql.SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp     at com.mysql.jdbc.SQLError.createSQLExcepti...
分类:编程语言   时间:2015-04-08 18:06:36    阅读次数:163
setBackground和setBackgroundDrawable的区别
我在使用Android版本4.0.4时,使用了setBackground方法,程序奔溃. 提示:Caused by: java.lang.NoSuchMethodError: android.widget.ImageView.setBackground 经所有资料,和Android的系统版本有关系。 经查找大于等于API16的源码 首先看一下setBackgroundDrawa...
分类:其他好文   时间:2015-04-08 15:11:06    阅读次数:388
905条   上一页 1 ... 69 70 71 72 73 ... 91 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!