Bugs item #585014, was opened at 2002-07-22 13:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585014&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Emerson Cargnin (echofloripa) Assigned to: Nobody/Anonymous (nobody) Summary: JBossCMP giving error in dynamic-ql when passing an array with null elements (not used) Initial Comment: When creating dynamic queries, normally someone have a max size array created at first, and populate it depending on the business rules (for example, having null parameters). If you create an array with size of three and jboss-ql = "SELECT object(p) FROM TestParent p WHERE p.idade=?1 ORDER BY p.nome" array = [20, null] although i use just the first one jboss it gives me the following error : 13:59:22,954 INFO [STDOUT] Parameter[1] is null 13:59:22,954 ERROR [STDERR] javax.ejb.FinderException: Parameter[1] is null 13:59:22,956 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(JDBCDynamicQLQuery.java:61) 13:59:22,956 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:64) 13:59:22,957 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:95) 13:59:22,957 ERROR [STDERR] at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59) 13:59:22,958 ERROR [STDERR] at server.ejb.TestParentEJB$Proxy.ejbSelectGeneric(<generated>) 13:59:22,958 ERROR [STDERR] at server.ejb.TestParentEJB.ejbHomeSelectTest(TestParentEJB.java:150) 13:59:22,958 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:59:22,959 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 13:59:22,959 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 13:59:22,960 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 13:59:22,960 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1137) 13:59:22,960 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73) 13:59:22,961 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInter ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585014&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
