camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-9167) NPE in dozer entity resolver
Date Tue, 06 Oct 2015 11:59:27 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Diesler updated CAMEL-9167:
----------------------------------
    Fix Version/s: 2.16.0

> NPE in dozer entity resolver
> ----------------------------
>
>                 Key: CAMEL-9167
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9167
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-dozer
>    Affects Versions: 2.16.0, 2.15.4
>            Reporter: Thomas Diesler
>            Priority: Minor
>             Fix For: 2.16.0, 2.15.4
>
>
> {code}
> 12:22:01,305 INFO  [org.dozer.DozerBeanMapper] (pool-3-thread-3) Using the following
xml files to load custom mappings for the bean mapper instance: [dozer-mappings.xml]
> 12:22:01,306 INFO  [org.dozer.DozerBeanMapper] (pool-3-thread-3) Trying to find xml mapping
file: dozer-mappings.xml
> 12:22:01,307 INFO  [org.dozer.DozerBeanMapper] (pool-3-thread-3) Using URL [vfs:/content/csv-dataformat-tests/dozer-mappings.xml]
to load custom xml mappings
> 12:22:01,308 ERROR [org.dozer.loader.xml.DozerResolver] (pool-3-thread-3) Could not resolve
beanmapping XML Schema [http://dozer.sourceforge.net/schema/beanmapping.xsd]: not found in
classpath: java.lang.NullPointerException
> 	at org.dozer.loader.xml.DozerResolver.resolveEntity(DozerResolver.java:50)
> 	at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:107)
> 	at org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:695)
> 	at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:624)
> 	at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2699)
> 	at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:2079)
> 	at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:788)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
> 	at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:733)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1754)
> 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:875)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
> 	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
> 	at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
> 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
> 	at org.dozer.loader.xml.MappingStreamReader.read(MappingStreamReader.java:50)
> 	at org.dozer.loader.xml.MappingFileReader.read(MappingFileReader.java:58)
> 	at org.dozer.DozerBeanMapper.loadFromFiles(DozerBeanMapper.java:227)
> 	at org.dozer.DozerBeanMapper.loadCustomMappings(DozerBeanMapper.java:209)
> 	at org.dozer.DozerBeanMapper.initMappings(DozerBeanMapper.java:315)
> 	at org.dozer.DozerBeanMapper.getMappingProcessor(DozerBeanMapper.java:192)
> 	at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:120)
> 	at org.apache.camel.converter.dozer.DozerTypeConverter.convertTo(DozerTypeConverter.java:69)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message