You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/08/13 14:54:24 UTC

[jira] Created: (XMLBEANS-50) Could not run sample program

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-50

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-50
    Summary: Could not run sample program
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans

   Assignee: 
   Reporter: Jayanta Sarkar

    Created: Fri, 13 Aug 2004 5:54 AM
    Updated: Fri, 13 Aug 2004 5:54 AM

Description:
java.lang.ExceptionInInitializerError
	at noNamespace.LatlongDocument.<clinit>(Unknown Source)
	at noNamespace.LatlongDocument$Factory.newInstance(Unknown Source)
	at main.XMLBeansMain.main(XMLBeansMain.java:28)
Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the version of xbean.jar correct?
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.loadTypeSystem(Unknown Source)
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.<clinit>(Unknown Source)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	... 5 more
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible minor version - expecting up to 18, got 19 (schema.system.s9ED36C119D97C81BFE3407F867D630A3.index) - code 3
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1085)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
	... 9 more
Exception in thread "main" 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


[jira] Commented: (XMLBEANS-50) Could not run sample program

Posted by xm...@xml.apache.org.
The following comment has been added to this issue:

     Author: Alex Almero
    Created: Mon, 23 Aug 2004 7:53 PM
       Body:
i was able to run the sample from the userguide. just made some changes on the main program due to compilation error.

PurchaseOrderDocument.PurchaseOrder po = poDoc.getPurchaseOrder();

also, use scomp -d . -out result.jar easypo.xsd instead of using
the -srconly options will not generate non-java files which are needed.

hth
aalmero
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XMLBEANS-50?page=comments#action_37420

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-50

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-50
    Summary: Could not run sample program
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans

   Assignee: 
   Reporter: Jayanta Sarkar

    Created: Fri, 13 Aug 2004 5:54 AM
    Updated: Mon, 23 Aug 2004 7:53 PM

Description:
java.lang.ExceptionInInitializerError
	at noNamespace.LatlongDocument.<clinit>(Unknown Source)
	at noNamespace.LatlongDocument$Factory.newInstance(Unknown Source)
	at main.XMLBeansMain.main(XMLBeansMain.java:28)
Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the version of xbean.jar correct?
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.loadTypeSystem(Unknown Source)
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.<clinit>(Unknown Source)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	... 5 more
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible minor version - expecting up to 18, got 19 (schema.system.s9ED36C119D97C81BFE3407F867D630A3.index) - code 3
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1085)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
	... 9 more
Exception in thread "main" 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-50) Could not run sample program

Posted by xm...@xml.apache.org.
The following comment has been added to this issue:

     Author: Jacob Danner
    Created: Thu, 9 Sep 2004 12:52 PM
       Body:
I've seen similar when using different JDK's
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XMLBEANS-50?page=comments#action_53003

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-50

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-50
    Summary: Could not run sample program
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans

   Assignee: 
   Reporter: Jayanta Sarkar

    Created: Fri, 13 Aug 2004 5:54 AM
    Updated: Thu, 9 Sep 2004 12:52 PM

Description:
java.lang.ExceptionInInitializerError
	at noNamespace.LatlongDocument.<clinit>(Unknown Source)
	at noNamespace.LatlongDocument$Factory.newInstance(Unknown Source)
	at main.XMLBeansMain.main(XMLBeansMain.java:28)
Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the version of xbean.jar correct?
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.loadTypeSystem(Unknown Source)
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.<clinit>(Unknown Source)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	... 5 more
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible minor version - expecting up to 18, got 19 (schema.system.s9ED36C119D97C81BFE3407F867D630A3.index) - code 3
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1085)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
	... 9 more
Exception in thread "main" 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Closed: (XMLBEANS-50) Could not run sample program

Posted by xm...@xml.apache.org.
Message:

   The following issue has been closed.

   Resolver: Dave Remy
       Date: Fri, 17 Sep 2004 11:19 AM

This looks like this is working now?
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-50

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-50
    Summary: Could not run sample program
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

    Project: XMLBeans

   Assignee: 
   Reporter: Jayanta Sarkar

    Created: Fri, 13 Aug 2004 5:54 AM
    Updated: Fri, 17 Sep 2004 11:19 AM

Description:
java.lang.ExceptionInInitializerError
	at noNamespace.LatlongDocument.<clinit>(Unknown Source)
	at noNamespace.LatlongDocument$Factory.newInstance(Unknown Source)
	at main.XMLBeansMain.main(XMLBeansMain.java:28)
Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl (java.lang.reflect.InvocationTargetException): is the version of xbean.jar correct?
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.loadTypeSystem(Unknown Source)
	at schema.system.s9ED36C119D97C81BFE3407F867D630A3.TypeSystemHolder.<clinit>(Unknown Source)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	... 5 more
Caused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible minor version - expecting up to 18, got 19 (schema.system.s9ED36C119D97C81BFE3407F867D630A3.index) - code 3
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(SchemaTypeSystemImpl.java:1085)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(SchemaTypeSystemImpl.java:271)
	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(SchemaTypeSystemImpl.java:151)
	... 9 more
Exception in thread "main" 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org