The following comment has been added to this issue:
Author: Dieter
Created: Fri, 13 May 2005 2:41 PM
Body:
forgot to tell:
public void setId( int id )
{
this.id = id;
idHasBeenSet = true;
primaryKey.setId(id);
}
primaryKey.setId is line 106
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1402?page=comments#action_16547
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1402
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1402
Summary: NullPointer by new ValueObject
Type: Bug
Status: Open
Priority: Major
Original Estimate: 1 day
Time Spent: Unknown
Remaining: 1 day
Project: XDoclet
Components:
EJB Module
Versions:
1.2.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Dieter
Created: Fri, 13 May 2005 2:39 PM
Updated: Fri, 13 May 2005 2:41 PM
Environment: AMD 64 Bit
java: 1.5.0_01
ant: 1.6.2
SuSE linux: 9.2
Description:
Hi,
today I run xdoclet-1.2.3 to create my bean stuff. I tried to create a
ValueObject vo = new ValueObject()
but I got an NullPointerException.
java.lang.NullPointerException
at
ejb.participant.ParticipantEntityValue.setId(ParticipantEntityValue.java:106)
at
ejb.participant.ParticipantEntityValue.<init>(ParticipantEntityValue.java:50)
Id is my primary key.
If I switch back on 1.2.2 everything is working fine. I made a diff on the PK
class but they are the same. ejb-jar.xml is the same too. But the Value classes
differ: for one reason it is the renamed primaryKey attribute and for the
second reason the implemented Cloneable interface.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel