You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org> on 2009/10/25 02:22:59 UTC

[jira] Closed: (XMLBEANS-305) Exception in thread "main" java.lang.IllegalArgumentException

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

Wing Yew Poon closed XMLBEANS-305.
----------------------------------

    Resolution: Invalid

Not a bug, an environment issue.

> Exception in thread "main" java.lang.IllegalArgumentException
> -------------------------------------------------------------
>
>                 Key: XMLBEANS-305
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-305
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.2
>         Environment: Linux Fedora Core 4, Java 1.4.2
>            Reporter: Igor Likhotkin
>
> I was trying to follow the tutorial on the XMLBeans web page and ran into this issue.  I cannot figure out what the problem is.  The windows machine seems to have no problems whatsoever, but it does have a different version of Java JDK (1.5.6 I think).  I could not find this exact version on the Sun's web site and I am not sure if it will help since XMLBeans is supposed to work with Java 1.4.
> I set up all of my environment variables exactly as the tutorial asked me to.  I tried several things afterwards, but nothing helped: I am still getting the error.  Here are the details of the error:
> //----------------------------------------------------------------------------------------------------------------------------------------------
> [jingvarr@dimwit xmlbeans-2.2.0]# scomp -out tutorials/gettingstarted/lib schemas/easypo.xsd
> Exception in thread "main" java.lang.IllegalArgumentException
>    at java.net.URI.create(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
>    at org.apache.xmlbeans.impl.schema.StscState.StscState() (Unknown Source)
>    at org.apache.xmlbeans.impl.schema.StscState.StscState(org.apache.xmlbeans.impl.schema.StscState$1) (Unknown Source)
>    at org.apache.xmlbeans.impl.schema.StscState$StscStack.push() (Unknown Source)
>    at org.apache.xmlbeans.impl.schema.StscState.start() (Unknown Source)
>    at org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(java.lang.String, java.io.File[], java.io.File[], java.net.URL[], java.io.File[], java.io.File[], org.apache.xmlbeans.ResourceLoader, boolean, boolean, boolean, boolean, boolean, java.util.Set, java.io.File, java.util.Map, java.util.Collection, java.io.File, org.xml.sax.EntityResolver, java.io.File[], java.lang.String) (Unknown Source)
>    at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters) (Unknown Source)
>    at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(java.lang.String[]) (Unknown Source)
>    at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
>    at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
> Caused by: java.net.URISyntaxException: doesn't match URI regular expression: project://local/
>    at java.net.URI.parseURI(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
>    at java.net.URI.URI(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
>    at java.net.URI.create(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
>    ...9 more
> //----------------------------------------------------------------------------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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