Hi,

unless you provide us with more information (e.g. the failing portion of
the mapping fi, etc.), it's going to be hard to help you.

Werner

Puttagunta, Prasad wrote:
> I have a mapping file which I use to order the elements in the xml when
> marshalling.
> This worked fine without any issues when I was using the
> castor-0.9.4.3.jar version.
> 
> Later, I upgraded to castor-0.9.7-xml.jar and now I get an exception on
> the method*** marsahller.setMapping(mappingFile);*
> 
> [7/12/05 19:21:22:582 CDT] 44084408 SystemErr     R
> java.lang.NullPointerException
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> java.lang.Throwable.<init>(Throwable.java)
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> java.lang.Throwable.<init>(Throwable.java)
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> java.lang.NullPointerException.<init>(NullPointerException.java:60)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> java.util.Hashtable.get(Hashtable.java)
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.mapping.loader.MappingLoader.getDescriptor(MappingLoader.java:209)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.xml.XMLMappingLoader.resolveRelations(XMLMappingLoader.java:180)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.mapping.loader.MappingLoader.loadMapping(MappingLoader.java:331)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:292)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:247)
> 
> [7/12/05 19:21:22:598 CDT] 44084408 SystemErr     R     at
> org.exolab.castor.xml.Marshaller.setMapping(Marshaller.java:561)
> 
> 
> There were NO changes made to the Mapping file when upgrading to
> castor-0.9.7-xml.jar
> Does anyone have an idea what might be going wrong here?
> 
> -Prasad
> 


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to