Actually I am doing the clear, once I got rid of it the exception
disappeared.
SO IMHO no bug
No, you're clearing a list. Craig is referring to the pcClearFields
call.
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its
Anyone have any more suggestions on how to debug this?
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 11:20 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
I don't close it in anyway directly
]
Sent: Monday, April 30, 2007 7:28 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Anyone have any more suggestions on how to debug this?
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 11:20 PM
:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 7:28 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Anyone have any more suggestions on how to debug this?
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007
if it clears. IF not I
will have to package and send along
Phill
-Original Message-
From: Patrick Linskey [mailto:[EMAIL PROTECTED]
Sent: April 30, 2007 1:45 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Odd. Any chance of packaging it up
return this
by email and then delete it.
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 10:55 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Hard to pull this little piece (of a much larger
PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Odd indeed. Can you post your named query definition?
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message
:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 11:13 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Sure here it is and the sql it generates. BTW the SQL works
as I can execute it in MySQL query browser and get the record
back I am after. Does
: How to debug object retrieveal in JPA?
Can you post the current full exception + any nested exceptions and their nested
exceptions and their nested exceptions and so on? I think that that data is
already in this thread, but I just want to confirm that things are still the
same as they were
)
... 64 more
-Original Message-
From: Patrick Linskey [mailto:[EMAIL PROTECTED]
Sent: April 30, 2007 2:41 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Can you post the current full exception + any nested
exceptions and their nested
Caused by: java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:472)
at ca.BidSpec.emall.user.Person.pcsetPhoneNumbers(Person.java:727)
at ca.BidSpec.emall.user.Person.pcClearFields(Person.java)
at
: Abe White [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 12:22 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA?
Caused by: java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:472
ca.BidSpec.emall.user.Person.pcsetPhoneNumbers(Person.java:727)
I had read this and assumed that it was an OpenJPA-generated
method, but
if so, there shouldn't be a line number. Did you reverse-compile your
classes at some point and change the synthetic interception methods?
That is the
30, 2007 12:29 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA?
ca.BidSpec.emall.user.Person.pcsetPhoneNumbers(Person.java:727)
I had read this and assumed that it was an
OpenJPA-generated method,
but if so, there shouldn't be a line number
immediately return this
by email and then delete it.
-Original Message-
From: Abe White [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 12:29 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA
: April 30, 2007 3:52 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
That is the original method with a new name. As the documentation
states, the getters and setters used in property access may appear
with a pc prefix in stack traces under OpenJPA
IMHO, this is a bug in the generated code for pcNewInstance.
I don't understand why the pcNewInstance should ever call
pcClearFields. It just got finished creating a new instance, and it
knows that all fields have been set to their Java default values.
[That's why we require the user to specify
to debug object retrieveal in JPA?
IMHO, this is a bug in the generated code for pcNewInstance.
I don't understand why the pcNewInstance should ever call pcClearFields. It just
got finished creating a new instance, and it knows that all fields have been set
to their Java default values.
[That's why we
PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA?
IMHO, this is a bug in the generated code for pcNewInstance.
I don't understand why the pcNewInstance should ever call pcClearFields. It just
got finished creating a new instance, and it knows that all
Community,
How does one go about debugging object retrieval/creation. I continue to have
exceptions and little to go on as far as the cause.
The named JPQL is good since I know it generates a good sql (can trace code and
see it) . I know the sql is good as I can copy/paste it into mysql query
recipient,
and have received this message in error, please immediately return this
by email and then delete it.
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 12:39 PM
To: open-jpa-dev@incubator.apache.org
Subject: How to debug object
Phill-
The maximum verbosity of logging is obtained by specifying the
openjpa.Log property to DefaultLevel=TRACE.
What is the full exception stack trace? We might be able to help
identify the problem. In any case OpenJPA should never be throwing an
NPE, so we should at least probably fix
:[EMAIL PROTECTED] On Behalf Of Marc
Prud'hommeaux
Sent: April 26, 2007 3:54 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA?
Phill-
The maximum verbosity of logging is obtained by specifying the openjpa.Log
property to DefaultLevel=TRACE.
What is the full
received this message in error, please immediately return this
by email and then delete it.
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 1:18 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 4:18 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
I did not mean it threw an NPE but I was left with a null result list.
I have setup trace already and I
@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
What is interesting is the line with a 1 (from
System.out.println(results.size())). What this represents is the
message that the result list is closed nothing else in the trace.
So what causes the result list to be closed?
I don't
: How to debug object retrieveal in JPA?
Some more information on this exception
Right after the execution the exception held inside the
result is com.sun.jdi.InvocationException occurred invoking
method... Can't seem to get more data out of it
Once the system.out is executed
Can't cast List to Exception
-Original Message-
From: Patrick Linskey [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 5:00 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
So you're saying that the ResultList contains an Exception? Can you
Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 2:36 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Can't cast List to Exception
-Original Message-
From: Patrick Linskey [mailto:[EMAIL
)
... 64 more
-Original Message-
From: Patrick Linskey [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 5:40 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Can you post what you get if you do '((Exception)
results.get(0)).printStackTrace
this
by email and then delete it.
-Original Message-
From: Phill Moran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 6:32 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Run that config gives us this lovely message:
0|false
@incubator.apache.org
Subject: RE: How to debug object retrieveal in JPA?
Caused by: java.lang.NullPointerException
at java.util.Locale.toLowerCase(Locale.java:1060)
at java.util.Locale.convertOldISOCodes(Locale.java:1083)
at java.util.Locale.init(Locale.java:272
I don't close it in anyway directly
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: April 26, 2007 11:16 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: How to debug object retrieveal in JPA?
Can it be that there is a glue code that closes EM in between
33 matches
Mail list logo