You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <de...@geronimo.apache.org> on 2010/12/01 08:34:12 UTC
[jira] Closed: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia closed DAYTRADER-83.
--------------------------------
Close this one for now, if still experience the same problem with v2.1.7, pls reopen it. thank you!
> DayTrader 2.1.3 : test PingServlet2Session2CMROne2Many : crash with NullPointerException
> ----------------------------------------------------------------------------------------
>
> Key: DAYTRADER-83
> URL: https://issues.apache.org/jira/browse/DAYTRADER-83
> Project: DayTrader
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1.3
> Environment: Jboss EAP 5.1.0 (EAP -> Enterprise Application Platform)
> Sun 1.6_022
> Sun Solaris 10
> Mysql JDBC driver 5.1.13 (mysql-connector-java-5.1.13-bin.jar)
> Mysql Server 5.0.20
> Profile default for Jboss serveur (./run.sh -c default).
> # Trade configuration update. Current config:
> RunTimeMode: Full EJB3
> JPALayer: OpenJPA
> OrderProcessingMode: Synchronous
> AcessMode: Standard
> Workload Mix: Standard
> Web Interface: JSP
> CachingType: No Caching
> #Trade Users: 200
> #Trade Quotes: 400
> Market Summary Interval: 20
> Primitive Iterations: 1
> TradeStreamer MDB Enabled: false
> Long Run Enabled: true
> or
> # Trade configuration update. Current config:
> RunTimeMode: Session (EJB3) To Direct
> JPALayer: OpenJPA
> OrderProcessingMode: Synchronous
> AcessMode: Standard
> Workload Mix: Standard
> Web Interface: JSP
> CachingType: No Caching
> #Trade Users: 200
> #Trade Quotes: 400
> Market Summary Interval: 20
> Primitive Iterations: 1
> TradeStreamer MDB Enabled: false
> Long Run Enabled: true
> Reporter: Yannick LE NY
> Assignee: Forrest Xia
> Fix For: 2.1.7, 2.2.1, 3.0
>
> Attachments: PingServlet2Session2CMROne2Many.log
>
>
> Hello,
> I have downloaded the latest revision for Day Trader 2.1.3
> in the svn here
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/old_2.1.3/?sortby=date
> and compiled it with :
> * JDK 1.6_021
> * Mandriva Linux 2010.1
> * Maven 2.2.1
> by following the instructions in the file
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/README.jboss5?revision=907211&view=markup&sortby=file
> But when I launch the test PingServlet2Session2CMROne2Many , I this error in the web page :
> An Error has occured during DayTrader processing.
> The stack trace detailing the error follows.
> Please consult the application server error logs for further details.
> Processing request:/daytrader/ejb3/PingServlet2Session2CMROne2Many
> StatusCode: -1
> Message:PingServlet2Session2CMROne2Many.doGet(...): errororg.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> Exception:null
> and I have the following errors in the logs :
> 15:09:56,936 ERROR [LazyInitializationException] failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380)
> ....
> 15:09:56,938 ERROR [Log] Error: PingServlet2Session2CMROne2Many.doGet(...): error
> org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> 15:09:56,938 INFO [STDOUT] org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> 15:09:56,938 INFO [STDOUT] at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380)
> ....
> 15:09:56,943 INFO [STDOUT] org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.apache.geronimo.samples.daytrader.AccountDataBean.orders, no session or session was closed
> 15:09:56,943 INFO [STDOUT] at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380)
> ...
> 15:09:56,950 ERROR [STDERR] java.lang.NullPointerException
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.