Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011684
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-12-08 14:582009-12-11 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9acedbca193d
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011684: LazyInitializationException when exporting ADTreeNode in REST webservice

DescriptionWhen running the WSReadTest a LazyInitializationException is thrown because the DAL XML converter clears the session during the xml conversion. The session clearing is needed to prevent high-memory usage.

The exception:
org.hibernate.LazyInitializationException: could not initialize proxy - no Session Caused by: could not initialize proxy - no Session

Proposed SolutionDuring processing the datascroller also export the 'added' objects before clearing the session.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0022546)
hgbot (developer)
2009-12-08 16:44

Repository: erp/devel/pi
Changeset: 9acedbca193d5ad0ef156d370fab782770c96410
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 08 16:41:52 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9acedbca193d5ad0ef156d370fab782770c96410 [^]

fixes issue 11684: LazyInitializationException when exporting ADTreeNode in REST webservice

---
M src/org/openbravo/dal/xml/EntityXMLConverter.java
---
(0022635)
iperdomo (reporter)
2009-12-10 13:00

Tested on pi @ rev 8cc92d933061

- Issue History
Date Modified Username Field Change
2009-12-08 14:58 mtaal New Issue
2009-12-08 14:58 mtaal Assigned To => mtaal
2009-12-08 16:42 mtaal Summary LazyInitializationException when exporting ADTreeNode as a webservice => LazyInitializationException when exporting ADTreeNode in REST webservice
2009-12-08 16:44 hgbot Checkin
2009-12-08 16:44 hgbot Note Added: 0022546
2009-12-08 16:44 hgbot Status new => resolved
2009-12-08 16:44 hgbot Resolution open => fixed
2009-12-08 16:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9acedbca193d5ad0ef156d370fab782770c96410 [^]
2009-12-10 13:00 iperdomo Note Added: 0022635
2009-12-10 13:00 iperdomo Status resolved => closed
2009-12-11 00:00 anonymous sf_bug_id 0 => 2912326


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker