poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Krishna.Bava...@bmwnaext.com>
Subject RE: Poi 3.5 beata6 version mismatch
Date Thu, 24 Sep 2009 19:37:06 GMT
Ok it works if I place the xmbean2.3.0.jar befor the weblogic.jar which
is not really a solution but we know that there is a conflict.

Can I re compile the Jars with xmlbean2.4 as it's the next version is
that compatible. This is the entire stack trace.

org.apache.poi.POIXMLException:
java.lang.reflect.InvocationTargetException
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:61)
	at
org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:240)
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:150)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:
63)
	at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja
va.lang.Object;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
java.lang.Object;(Unknown Source)
	at
com.documentum.web.form.FormProcessor.invokeMethod(FormProcessor.java:14
42)
	at
com.documentum.web.form.FormProcessor.fireActionEvent(FormProcessor.java
:1151)
	at
com.documentum.web.form.RecallOperation.execute(RecallOperation.java:101
)
	at
com.documentum.web.form.FormProcessor.processAction(FormProcessor.java:1
11)
	at
com.documentum.web.form.FormAction.processAction(FormAction.java:86)
	at
com.documentum.web.env.WDKController.doStartRequest(WDKController.java:1
90)
	at
com.documentum.web.env.WDKController.processRequest(WDKController.java:9
1)
	at
com.documentum.web.env.WDKController.doFilter(WDKController.java:82)
	at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
42)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3212)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:1983)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:1890)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1344)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.reflect.InvocationTargetException
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object
;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:59)
	... 24 more
Caused by: java.lang.ExceptionInInitializerError
	at
jrockit.reflect.MemberAccess.newFieldAccessor(Ljava.lang.reflect.Field;Z
)Ljrockit.reflect.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.acquireFieldAccessor(Z)Ljrockit.reflect.FieldAcc
essor;(Unknown Source)
	at
java.lang.reflect.Field.getAccessor(Ljava.lang.Object;I)Ljrockit.reflect
.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.get(Ljava.lang.Object;I)Ljava.lang.Object;(Unkno
wn Source)
	at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:770)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument.<
clinit>()V(Unknown Source)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$F
actory.parse(Ljava.io.InputStream;)Lorg.openxmlformats.schemas.spreadshe
etml.x2006.main.StyleSheetDocument;(Unknown Source)
	at
org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:103)
	at
org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:92)
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object
;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:59)
	at
org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:240)
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:150)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:
63)
	at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja
va.lang.Object;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
java.lang.Object;(Unknown Source)
	at
com.documentum.web.form.FormProcessor.invokeMethod(FormProcessor.java:14
42)
	at
com.documentum.web.form.FormProcessor.fireActionEvent(FormProcessor.java
:1151)
	at
com.documentum.web.form.RecallOperation.execute(RecallOperation.java:101
)
	at
com.documentum.web.form.FormProcessor.processAction(FormProcessor.java:1
11)
Caused by: java.lang.RuntimeException: Could not instantiate
SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is
the version of xbean.jar correct?
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.loadTypeSystem()Lorg.apache.xmlbeans.SchemaTypeSystem;(Unkno
wn Source)
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.<clinit>()V(Unknown Source)
	at
jrockit.reflect.MemberAccess.newFieldAccessor(Ljava.lang.reflect.Field;Z
)Ljrockit.reflect.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.acquireFieldAccessor(Z)Ljrockit.reflect.FieldAcc
essor;(Unknown Source)
	at
java.lang.reflect.Field.getAccessor(Ljava.lang.Object;I)Ljrockit.reflect
.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.get(Ljava.lang.Object;I)Ljava.lang.Object;(Unkno
wn Source)
	at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:770)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument.<
clinit>()V(Unknown Source)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$F
actory.parse(Ljava.io.InputStream;)Lorg.openxmlformats.schemas.spreadshe
etml.x2006.main.StyleSheetDocument;(Unknown Source)
	at
org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:103)
	at
org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:92)
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object
;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:59)
	at
org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:240)
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:150)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:
63)
	at
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Lja
va.lang.Object;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)L
java.lang.Object;(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.loadTypeSystem()Lorg.apache.xmlbeans.SchemaTypeSystem;(Unkno
wn Source)
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.<clinit>()V(Unknown Source)
	at
jrockit.reflect.MemberAccess.newFieldAccessor(Ljava.lang.reflect.Field;Z
)Ljrockit.reflect.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.acquireFieldAccessor(Z)Ljrockit.reflect.FieldAcc
essor;(Unknown Source)
	at
java.lang.reflect.Field.getAccessor(Ljava.lang.Object;I)Ljrockit.reflect
.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.get(Ljava.lang.Object;I)Ljava.lang.Object;(Unkno
wn Source)
	at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:770)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument.<
clinit>()V(Unknown Source)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$F
actory.parse(Ljava.io.InputStream;)Lorg.openxmlformats.schemas.spreadshe
etml.x2006.main.StyleSheetDocument;(Unknown Source)
	at
org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:103)
	at
org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:92)
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object
;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:59)
	at
org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:240)
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:150)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:
63)
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS
compiled schema: Incompatible minor version - expecting up to 23, got 24
(schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.inde
x) - code 3
	at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(Sc
hemaTypeSystemImpl.java:1522)
	at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(Sche
maTypeSystemImpl.java:260)
	at
org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSy
stemImpl.java:183)
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.loadTypeSystem()Lorg.apache.xmlbeans.SchemaTypeSystem;(Unkno
wn Source)
	at
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.TypeS
ystemHolder.<clinit>()V(Unknown Source)
	at
jrockit.reflect.MemberAccess.newFieldAccessor(Ljava.lang.reflect.Field;Z
)Ljrockit.reflect.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.acquireFieldAccessor(Z)Ljrockit.reflect.FieldAcc
essor;(Unknown Source)
	at
java.lang.reflect.Field.getAccessor(Ljava.lang.Object;I)Ljrockit.reflect
.FieldAccessor;(Unknown Source)
	at
java.lang.reflect.Field.get(Ljava.lang.Object;I)Ljava.lang.Object;(Unkno
wn Source)
	at
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:770)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument.<
clinit>()V(Unknown Source)
	at
org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$F
actory.parse(Ljava.io.InputStream;)Lorg.openxmlformats.schemas.spreadshe
etml.x2006.main.StyleSheetDocument;(Unknown Source)
	at
org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:103)
	at
org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:92)
	at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;
)Ljava.lang.Object;(Unknown Source)
	at
jrockit.reflect.InitialConstructorInvoker.newInstance([Ljava.lang.Object
;)Ljava.lang.Object;(Unknown Source)
	at
java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lan
g.Object;(Unknown Source)
	at
org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory
.java:59)
	at
org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:240)
	at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:150)
	at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:
63)


Thanks,



-----Original Message-----
From: Krishna.Bavanam@bmwnaext.com [mailto:Krishna.Bavanam@bmwnaext.com]

Sent: Thursday, September 24, 2009 2:48 PM
To: user@poi.apache.org
Subject: Re: Poi 3.5 beata6 version mismatch

Hi, 

 

I have a version mismatch of the xml bean with the following message,

 

Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS
compiled schema: Incompatible minor version - expecting up to 23, got 24
(schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707.inde
x) - code 3

 

My app server is weblogic 9.2d. 

 

Can you guys suggest any solution for this. Its very urgent.

 

Thanks.

 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message