NullPointerException when compiling file in directory with special characters
-----------------------------------------------------------------------------

                 Key: ODE-238
                 URL: https://issues.apache.org/jira/browse/ODE-238
             Project: ODE
          Issue Type: Bug
          Components: BPEL Compilation/Parsing
    Affects Versions: 1.1.1
         Environment: Ubuntu Linux 7.10
Sun Java 1.6.0_03-b05
            Reporter: Sebastian Breier
            Priority: Trivial


I want to compile the file 
"/home/tomcat/Dokumente/Universität/example-bpel-designer.bpel".

Changing to the directory and calling "~/apache_ode/bin/bpelc -vv 
example-bpel-designer.bpel" I get this output:

DEBUG - 2008-02-04 15:10:51,454 - <org.apache.ode.bpel.compiler.BpelC> 
compile(URL)
DEBUG - 2008-02-04 15:10:51,742 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://schemas.xmlsoap.org/ws/2003/03/business-process/ ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/bpel4ws_1_1-fivesight.xsd
DEBUG - 2008-02-04 15:10:51,742 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://schemas.xmlsoap.org/ws/2004/03/business-process/ ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/wsbpel_main-draft-Apr-29-2006.xsd
DEBUG - 2008-02-04 15:10:51,743 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://docs.oasis-open.org/wsbpel/2.0/process/abstract ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/ws-bpel_abstract_common_base.xsd
DEBUG - 2008-02-04 15:10:51,743 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://docs.oasis-open.org/wsbpel/2.0/process/executable ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/ws-bpel_executable.xsd
DEBUG - 2008-02-04 15:10:51,743 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://docs.oasis-open.org/wsbpel/2.0/plnktype ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/ws-bpel_plnktype.xsd
DEBUG - 2008-02-04 15:10:51,744 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://docs.oasis-open.org/wsbpel/2.0/serviceref ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/ws-bpel_serviceref.xsd
DEBUG - 2008-02-04 15:10:51,744 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://docs.oasis-open.org/wsbpel/2.0/varprop ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/ws-bpel_varprop.xsd
DEBUG - 2008-02-04 15:10:51,744 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://www.w3.org/2001/xml.xsd ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/xml.xsd
DEBUG - 2008-02-04 15:10:51,745 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://schemas.xmlsoap.org/wsdl/ ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/wsdl.xsd
DEBUG - 2008-02-04 15:10:51,745 - 
<org.apache.ode.bpel.compiler.bom.LocalEntityResolver> mapping 
http://schemas.xmlsoap.org/ws/2004/03/partner-link/ ==> 
jar:file:/home/tomcat/apache_ode/lib/ode-bpel-schemas.jar!/wsbpel_plinkType-draft-Apr-29-2006.xsd
java org.apache.ode.tools.bpelc.cline.BpelC: null
java.lang.NullPointerException
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:194)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
        at 
org.apache.ode.tools.bpelc.BpelCompileCommand.execute(BpelCompileCommand.java:121)
        at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)

The same file works in other directories, so I guess it's a problem with the 
"ä" umlaut.

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

Reply via email to