[JBoss-dev] [ jboss-Bugs-533572 ] NullPointerException in EJBQL parser
Bugs item #533572, was opened at 2002-03-22 07:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole Status: Closed Resolution: Out of Date Priority: 5 Submitted By: Matthias Bohlen (mattes3) Assigned to: Dain Sundstrom (dsundstrom) Summary: NullPointerException in EJBQL parser Initial Comment: OS = Win2K JDK = 1.3.1_02 I have written an EJBQL query: SELECT DISTINCT OBJECT(c) FROM Customer AS c WHERE c.firstName = ?1 Unfortunately, because of a typo, the EJB name in the deployment descriptor of my bean was not Customer. Upon deployment of the bean, the EJBQL parser crashed with a NullPointerException: 2002-03-22 14:06:04,790 ERROR [org.jboss.ejb.ContainerFactory] Could not deploy file:/D:/Programming/jboss-all/build/output/jboss- 3.0.0alpha/tmp/deploy/Default/samples.ear java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.init (JDBCEJBQLQuery.java:54) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.creat eEJBQLQuery(JDBCCommandFactory.java:49) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start (JDBCQueryManager.java:182) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start (JDBCStoreManager.java:309) at org.jboss.ejb.plugins.CMPPersistenceManager.start (CMPPersistenceManager.java:175) at org.jboss.ejb.EntityContainer.start (EntityContainer.java:341) at org.jboss.ejb.Application.start (Application.java:219) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:389) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:312) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.J2eeDeployer.startModules (J2eeDeployer.java:468) at org.jboss.deployment.J2eeDeployer.startApplication (J2eeDeployer.java:439) at org.jboss.deployment.J2eeDeployer.deploy (J2eeDeployer.java:203) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.AutoDeployer.deploy (AutoDeployer.java:681) at org.jboss.deployment.AutoDeployer.run (AutoDeployer.java:325) at java.lang.Thread.run(Thread.java:484) The parser should have given an error message instead. -- Comment By: Dain Sundstrom (dsundstrom) Date: 2002-04-09 11:50 Message: Logged In: YES user_id=251431 This was a problem witht the old parser, which sucked. Now you get the following message: Was expecting one of: IN ... ABSTRACT_SCHEMA ... Thanks for the heads up. I you run into any other lame exceptions please post a new bug report. -- You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-533572 ] NullPointerException in EJBQL parser
Bugs item #533572, was opened at 2002-03-22 07:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Matthias Bohlen (mattes3) Assigned to: Dain Sundstrom (dsundstrom) Summary: NullPointerException in EJBQL parser Initial Comment: OS = Win2K JDK = 1.3.1_02 I have written an EJBQL query: SELECT DISTINCT OBJECT(c) FROM Customer AS c WHERE c.firstName = ?1 Unfortunately, because of a typo, the EJB name in the deployment descriptor of my bean was not Customer. Upon deployment of the bean, the EJBQL parser crashed with a NullPointerException: 2002-03-22 14:06:04,790 ERROR [org.jboss.ejb.ContainerFactory] Could not deploy file:/D:/Programming/jboss-all/build/output/jboss- 3.0.0alpha/tmp/deploy/Default/samples.ear java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.init (JDBCEJBQLQuery.java:54) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.creat eEJBQLQuery(JDBCCommandFactory.java:49) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start (JDBCQueryManager.java:182) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start (JDBCStoreManager.java:309) at org.jboss.ejb.plugins.CMPPersistenceManager.start (CMPPersistenceManager.java:175) at org.jboss.ejb.EntityContainer.start (EntityContainer.java:341) at org.jboss.ejb.Application.start (Application.java:219) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:389) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:312) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.J2eeDeployer.startModules (J2eeDeployer.java:468) at org.jboss.deployment.J2eeDeployer.startApplication (J2eeDeployer.java:439) at org.jboss.deployment.J2eeDeployer.deploy (J2eeDeployer.java:203) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.AutoDeployer.deploy (AutoDeployer.java:681) at org.jboss.deployment.AutoDeployer.run (AutoDeployer.java:325) at java.lang.Thread.run(Thread.java:484) The parser should have given an error message instead. -- You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-533572 ] NullPointerException in EJBQL parser
Bugs item #533572, was opened at 2002-03-22 14:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Matthias Bohlen (mattes3) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException in EJBQL parser Initial Comment: OS = Win2K JDK = 1.3.1_02 I have written an EJBQL query: SELECT DISTINCT OBJECT(c) FROM Customer AS c WHERE c.firstName = ?1 Unfortunately, because of a typo, the EJB name in the deployment descriptor of my bean was not Customer. Upon deployment of the bean, the EJBQL parser crashed with a NullPointerException: 2002-03-22 14:06:04,790 ERROR [org.jboss.ejb.ContainerFactory] Could not deploy file:/D:/Programming/jboss-all/build/output/jboss- 3.0.0alpha/tmp/deploy/Default/samples.ear java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.init (JDBCEJBQLQuery.java:54) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.creat eEJBQLQuery(JDBCCommandFactory.java:49) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start (JDBCQueryManager.java:182) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start (JDBCStoreManager.java:309) at org.jboss.ejb.plugins.CMPPersistenceManager.start (CMPPersistenceManager.java:175) at org.jboss.ejb.EntityContainer.start (EntityContainer.java:341) at org.jboss.ejb.Application.start (Application.java:219) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:389) at org.jboss.ejb.ContainerFactory.deploy (ContainerFactory.java:312) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.J2eeDeployer.startModules (J2eeDeployer.java:468) at org.jboss.deployment.J2eeDeployer.startApplication (J2eeDeployer.java:439) at org.jboss.deployment.J2eeDeployer.deploy (J2eeDeployer.java:203) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke (MBeanServerImpl.java:1523) at org.jboss.deployment.AutoDeployer.deploy (AutoDeployer.java:681) at org.jboss.deployment.AutoDeployer.run (AutoDeployer.java:325) at java.lang.Thread.run(Thread.java:484) The parser should have given an error message instead. -- You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=376685aid=533572group_id=22866 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development