ODE
  1. ODE
  2. ODE-238

NullPointerException when compiling file in directory with special characters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Invalid
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.1
    • Labels:
      None
    • Environment:
      Ubuntu Linux 7.10
      Sun Java 1.6.0_03-b05

      Description

      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.

        Activity

        Hide
        Sebastian Breier added a comment -

        It's not a problem with special charaters; I failed to realize I always used "./<file>" when it worked and "<file>" when it didn't work.

        Sorry.

        Show
        Sebastian Breier added a comment - It's not a problem with special charaters; I failed to realize I always used "./<file>" when it worked and "<file>" when it didn't work. Sorry.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebastian Breier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development