Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » 2.1.0 to 2.3.2(2.1.0 to 2.3.2)
2.1.0 to 2.3.2 [message #849399] Thu, 19 April 2012 05:34 Go to next message
klind Mising name is currently offline klind Mising nameFriend
Messages: 5
Registered: August 2011
Junior Member
Hi, I am using eclipselink 2.1.0 and want to upgrade to 2.3.2.
But when doing so I get this error :

"Exception Description: An attempt was made to traverse a relationship using indirection that had a null Session. This often occurs when an entity with an uninstantiated LAZY relationship is serialize
d and that lazy relationship is traversed after serialization. To avoid this issue, instantiate the LAZY relationship prior to serialization."

And I see why, I am reading a message from a JMS queue with a serialized object in the message and try to call a lazy relation... but how come this works fine in 2.1.0 ???

[Updated on: Thu, 19 April 2012 06:00]

Report message to a moderator

Re: 2.1.0 to 2.3.2 [message #849895 is a reply to message #849399] Thu, 19 April 2012 14:53 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1376
Registered: July 2009
Senior Member
I do not know of any differences in this behavior from 2.1 to 2.3. My guess would be your application running in 2.1 was running for a while - it may have triggered the relationship sometime in the past before putting it in the queue. EclipseLink has a shared cache, so it would remain triggered in the cache until it was garbage collected, refreshed or the application is restarted.

Best Regards,
Previous Topic:Unable to create query.
Next Topic:Missing descriptors
Goto Forum:

Current Time: Sun Jan 17 01:23:59 GMT 2021

Powered by FUDForum. Page generated in 0.02180 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top