Ha I figured it out. If you have a jaws.xml file with a <type-mapping> tag
in it to indicate your default type mapping, move that tag after the
<type-mappings> tag. Oh so intriguing. There is some code which processes
the new mapping when the <type-mapping> tag is hit, and if it hasn't already
hit the <type-mappings><type-mapping> which you reference you get all those
NPE errors.
Cheers
-----Original Message-----
From: Justin Forder [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 25, 2000 7:46 AM
To: jBoss
Subject: Re: [jBoss-User] Anybody know why JDBC + SQL NPE errors happen
Jay
I find them pretty annoying too. I don't think they happen if you have
the full set of deployment descriptors (ejb-jar.xml, jboss.xml,
jaws.xml).
They are coming from JAWSCMPField, which is a metadata class that is
shared between EJX and jBoss, and which currently brings too much of its
EJX origins into jBoss. I believe Sebastien Alborini is giving it a
complete redesign, and I expect the ugliness will disappear quite soon.
Sebastien - any comments?
Justin
In message <[EMAIL PROTECTED]>,
Jay Walters <[EMAIL PROTECTED]> writes
>Anybody have any insight into the JDBC + SQL NPE errors printing out from
>Jaws when I try to deploy the TestBeans jar? It generates the right SQL in
>the end, and passes all the tests from the client - but it sure doesn't
look
>pretty at deploy time. I've done a little bit of digging and it's the
>TypeMappings which is null, which is sort of odd since I've got mapping s
in
>both defaultjaws.xml and jaws.xml...
>
>Cheers
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
>
--
Justin Forder
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]