More info: the NPE is getting thrown by org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand; the pertinent part of the stack trace is:
java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:273) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:111) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:64) at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91) at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59) at mil.tis.enterprise.plan.UnitDeploymentItemHazardBean$Proxy.ejbSelectHazardousUnitEquipmentItem() Line 273 of method JDBCAbstractQueryCommand.java, with a little context, is: | // This is an ejbSelect, so we need to convert the pks to real ejbs. | EntityContainer selectContainer = selectManager.getContainer(); | if (queryMetaData.isResultTypeMappingLocal()) | { | LocalProxyFactory localFactory = selectContainer.getLocalProxyFactory(); | return localFactory.getEntityLocalCollection(results); | } | else | { | EJBProxyFactory factory = selectContainer.getProxyFactory(); | return factory.getEntityCollection(results); | } | | // This is an ejbSelect, so we need to convert the pks to real ejbs. | EntityContainer selectContainer = selectManager.getContainer(); | if (queryMetaData.isResultTypeMappingLocal()) | { | LocalProxyFactory localFactory = selectContainer.getLocalProxyFactory(); | return localFactory.getEntityLocalCollection(results); | } | else | { | EJBProxyFactory factory = selectContainer.getProxyFactory(); | return factory.getEntityCollection(results); // <<<<< line 273 | } | Desk checking this (I haven't run JBoss itself thru the debugger), it appears that selectContainer.getProxyFactory() is returning a null. <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825216#3825216">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825216>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user