Bugs item #1003330, was opened at 2004-08-04 17:51
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1003330&group_id=22866

Category: JBossCMP
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ballista (jwskene)
>Assigned to: Alexey Loubyansky (loubyansky)
Summary: Unspecified QL compiler class causes null-pointer exception

Initial Comment:
In either JBoss 3.2.5 or 4.0.0RC3, JDK 1.4.1_01, 
Windows 2000.

If a line like:

<ql-
compiler>org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompil
er</ql-compiler>

is missing from the defaults section of %
server%/conf/standardjbosscmp-jdbc.xml

then a null-pointer exception results in the getInstance
(Class impl, Catalog catalog) method of 
JDBCQueryManager (line 88 in 3.2.5), when an EJB with 
EJB-QL finder methods is deployed.  See attachment for 
trace.

It seems that the code should throw a 
DeploymentException, but the catalog class is null so its 
name cannot be recovered.

Clearly some complaint other than a null-pointer 
exception should be made here, or alternatively when 
the standardjbosscmp-jdbc.xml file is parsed.

----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-08-04 18:03

Message:
Logged In: YES 
user_id=543482

Fixed in 3.2.6RC2. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1003330&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to