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



On Thu, Mar 20, 2014 at 1:13 PM, Vonmist <[email protected]> wrote:

> 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 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 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to