Expand|Select|Wrap|Line Numbers
- imageValue=null
- SEVERE:-->
- com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'Gout_msgtext' cannot be null
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
- at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
- at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440)
- at asiamsms.dbo.Gout.insertRequest(Gout.java:363)
- at asiamsms.product.ProcessM$RemindTask.run(ProcessM.java:234)
- at java.util.TimerThread.mainLoop(Unknown Source)
- at java.util.TimerThread.run(Unknown Source)
i set the imageValue to "0" as string, at first;
and then i do this :
Expand|Select|Wrap|Line Numbers
- imageValue = Product.product_image;
Expand|Select|Wrap|Line Numbers
- //output
- imageValue = null
i have no idea why it get "null"...