Re: [h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-22 Thread Thomas Mueller
Hi, To analyze such problems, usually one would look at the line of code that throws the exception: Caused by: java.lang.NullPointerException at com.auctorizium.database.server.TestTrigger.fire(TestTrigger.java:41) at org.h2.schema.TriggerObject.fireRow(TriggerObject.java:201) Regards, Thomas

[h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-20 Thread Vonmist
On Thursday, March 20, 2014 7:48:12 PM UTC+8, Vonmist wrote: Hi all, I am currently using h2 version 1.3.174 and faced this error when i am working on Trigger class whereby a UPDATE statement is at the fire() method. I have searched the net and was told h2 v1.3.174 shouldnt have this

[h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-20 Thread Vonmist
Hi Noel The exception trace is as shown from previous post. Thanks On Thursday, March 20, 2014 8:06:25 PM UTC+8, Vonmist wrote: On Thursday, March 20, 2014 7:48:12 PM UTC+8, Vonmist wrote: Hi all, I am currently using h2 version 1.3.174 and faced this error when i am working on

Re: [h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-20 Thread Noel Grandin
that exception is in your code: at com.auctorizium.database.server.TestTrigger.fire(TestTrigger.java:41) -- You received this message because you are subscribed to the Google Groups H2 Database group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-20 Thread Vonmist
Inside my fire() method, there is a preparedStatement that execute a update statement to the database. On Thursday, March 20, 2014 8:09:46 PM UTC+8, Noel Grandin wrote: that exception is in your code: at com.auctorizium.database.server.TestTrigger.fire(TestTrigger.java:41) -- You

Re: [h2] Re: Generic Error [50000-175] caused by NullPointerException

2014-03-20 Thread Vonmist
The update statement have been tested and was working outside of the Trigger Class but when it was run at the fire() method inside the Trigger, the error appear. Thanks On Thursday, March 20, 2014 8:12:40 PM UTC+8, Vonmist wrote: Inside my fire() method, there is a preparedStatement that