-
1. Re: Getting NullPointer Exception from VDBMetadataParser.marshell() with Teiid 8.0
rareddy Jul 17, 2012 11:05 AM (in response to manoj.m.agarwal)The support for JAXB has been removed to improve the performance. Try using
VDBMetadataParser.marshell VDBMetadataParser.unmarshell
methods.
Ramesh..
-
2. Re: Getting NullPointer Exception from VDBMetadataParser.marshell() with Teiid 8.0
manoj.m.agarwal Jul 18, 2012 2:06 AM (in response to rareddy)Hi Ramesh,
I am using
VDBMetadataParser.marshell but i am getting Null pointer exeption. Shell i raise a bug for this issue or is there any work around ?
java.lang.NullPointerException: java.lang.NullPointerException
at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:493)
at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:228)
at org.teiid.adminapi.impl.VDBMetadataParser.writeTranslator(VDBMetadataParser.java:433) [teiid-admin-8.0.0.Final.jar:8.0.0.Final]
at org.teiid.adminapi.impl.VDBMetadataParser.marshell(VDBMetadataParser.java:369) [teiid-admin-8.0.0.Final.jar:8.0.0.Final]
at com.aca.xyz.server.teiid.bootstrap.TeiidBootstrap.run(TeiidBootstrap.java:263) [teiid-bootstrap-3.0.0-SNAPSHOT.jar:]
.........................................
.........................................
Thanks !
Manoj
-
3. Re: Getting NullPointer Exception from VDBMetadataParser.marshell() with Teiid 8.0
shawkins Jul 18, 2012 9:20 AM (in response to manoj.m.agarwal)Manoj,
It looks like there is an issue that woodstox does not check for null attribute values. Go ahead and log an issue. The workaround here is likely that the translator needs a description attribute.
Steve