You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/TRQS81>

Type :        Defect
Issue Id :    TRQS81
Reported by: Quinton McCombs
             quintonm - ([EMAIL PROTECTED])

Details:

Summary: getPrimaryKey() throws NullPointerException is pk is Object type and null.
Description: Calling getPrimaryKey() on a generated om object when the primary key is 
an Object type and null generated a NullPointerException.  

java.lang.NullPointerException
        at org.apache.torque.om.NumberKey.<init>(NumberKey.java:126)
        at org.apache.torque.om.SimpleKey.keyFor(SimpleKey.java:104)
        at com.nequalsone.om.BaseNotification.getPrimaryKey(BaseNotification.java:684)
        at org.apache.torque.om.BaseObject.hashCode(BaseObject.java:413)
        at java.lang.Object.toString(Object.java:203)
        at 
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)

Status: New


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to