Alex Dushkin created AXIS2-5490:
-----------------------------------
Summary: axis2-wsdl2code-maven-plugin and cyrillic characters
Key: AXIS2-5490
URL: https://issues.apache.org/jira/browse/AXIS2-5490
Project: Axis2
Issue Type: Bug
Components: databinding
Affects Versions: 1.6.2, 1.6.1, 1.6.0
Environment: Windows 8
Reporter: Alex Dushkin
If maven repository path contains cyrillic characters (windows user name is
cyrillic and path is default) and databindingName is "adb", "Path contains
invalid character" error appears. No this bug in 1.5.
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.6.2</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>stat</packageName>
<wsdlFile>${basedir}/src/main/resources/Stat.wsdl</wsdlFile>
<databindingName>adb</databindingName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: Path contains
invalid character: ╧
at
com.sun.org.apache.xml.internal.utils.URI.initializePath(URI.java:786)
at com.sun.org.apache.xml.internal.utils.URI.initialize(URI.java:464)
at com.sun.org.apache.xml.internal.utils.URI.<init>(URI.java:198)
at com.sun.org.apache.xml.internal.utils.URI.<init>(URI.java:181)
at
com.sun.org.apache.xml.internal.utils.SystemIDResolver.getAbsoluteURI(SystemIDResolver.java:286)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.Include.parseContents(Include.java:87)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:596)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:558)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Parser.java:395)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:369)
at
com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:454)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:852)
at
org.apache.axis2.schema.writer.JavaBeanWriter.loadTemplate(JavaBeanWriter.java:1248)
at
org.apache.axis2.schema.writer.JavaBeanWriter.process(JavaBeanWriter.java:442)
at
org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:265)
at
org.apache.axis2.schema.SchemaCompiler.writeComplexType(SchemaCompiler.java:1112)
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1098)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1006)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:645)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:604)
at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:2069)
at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1952)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1156)
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1092)
at
org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1261)
at
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1228)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1172)
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1092)
at
org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1261)
at
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1228)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1172)
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1092)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1006)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:645)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:615)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:423)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:292)
at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:246)
at
org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo.java:567)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]