users@glassfish.java.net

toplink-99 - internal exception: java.lang.reflect.InvocationTargetExceptio

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 May 2007 22:20:23 PDT

hi,
I'm having a problem with the merge command.
I have the following entities,

Visual -- Bale -- BaleStatus

each is a one to one link, visual to bale and bale to balestatus

On an update of Visual I get the message listed below.

The problem is I'm not updating BaleStatus,nor do I want to. So it is correct that this would be null.

It doesn't happen all the time. Anyone any ideas ?

[code]
Bale No : 10126039 existing visual record
03May07 15:06:50PM - Bale no 10126039 failed to save!!!!
nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.RemoteException: null; nested exception is:
        Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41d-beta2 (04/24/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The method [_toplink_getbaleLotStatus_vh] on the object [apps.ejb3.par.Bale] triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NullPointerException
[/code]
[Message sent by forum member 'markbrazil' (markbrazil)]

http://forums.java.net/jive/thread.jspa?messageID=215271