You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org> on 2010/11/24 15:34:14 UTC
[jira] Created: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
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
Fix For: 2.1.7
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.
[jira] Assigned: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia reassigned DAYTRADER-83:
------------------------------------
Assignee: Forrest Xia
> 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
>
> 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.
[jira] Commented: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935691#action_12935691 ]
Yannick LE NY commented on DAYTRADER-83:
----------------------------------------
* Daytrader 2.1
Revision 1038927 : DAYTRADER-83 fix pingservlet2session2jdbc failure
Revision 1038920 : DAYTRADER-83 change fetch.lazy to eager to fix pingservlet2session2cmrone2many failure
* Daytrader 2.2
Revision 1038921 : DAYTRADER-83 fix ping primitives failures
* Daytrader trunk
Revision 1038922 : DAYTRADER-83 fix ping primitives failures
> 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.
[jira] Updated: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yannick LE NY updated DAYTRADER-83:
-----------------------------------
Attachment: PingServlet2Session2CMROne2Many.log
test PingServlet2Session2CMROne2Many's full error log
> 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
> Fix For: 2.1.7
>
> 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.
[jira] Closed: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ 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.
[jira] Resolved: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia resolved DAYTRADER-83.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0
2.2.1
please verify 2.1 branch. thank you for reporting this.
> 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.
[jira] Updated: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yannick LE NY updated DAYTRADER-83:
-----------------------------------
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
was:
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
> 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
> Fix For: 2.1.7
>
>
> 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.
[jira] Commented: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935687#action_12935687 ]
Yannick LE NY commented on DAYTRADER-83:
----------------------------------------
I will try the patch tonight.
> 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.
[jira] Commented: (DAYTRADER-83) DayTrader 2.1.3 : test
PingServlet2Session2CMROne2Many : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964756#action_12964756 ]
Yannick LE NY commented on DAYTRADER-83:
----------------------------------------
Tested with daytrader 2.1.8 snapshot code source at
http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1/?sortby=date
revision 1038956.
Bug fixed.
> 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.