java.lang.NullPointerException

MuleSoft JIRA | Mariano Gonzalez | 11 months ago
  1. 0

    The following log is obtained from a misconfigured file:list operation: {code} ERROR 2016-01-15 14:34:43,672 [[ftp-app].ftp-appFlow.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : null. Payload : Element : /ftp-appFlow/processors/0 @ ftp-app -------------------------------------------------------------------------------- [2:35] ERROR 2016-01-15 14:34:55,674 [[ftp-app].ftp-appFlow.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : null. Payload : Element : /ftp-appFlow/processors/0 @ ftp-app -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.NullPointerException at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77) at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53) {code} Error message should be friendlier and more descriptive about the problem that actually happened. The configuration that generated this is: {code:xml} <?xml version="1.0" encoding="UTF-8"?> ​ <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd"> <file:config name="File_Connector_config" baseDir="/Users/pablocabrera/dev/connectors/connector-name-connector" doc:name="File Connector config"/> <flow name="ftp-appFlow"> <poll doc:name="Poll"> <logger message="Started Flow" level="INFO" doc:name="Logger"/> </poll> <file:list config-ref="File_Connector_config" doc:name="File Connector"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> </flow> </mule> {code}

    MuleSoft JIRA | 11 months ago | Mariano Gonzalez
    java.lang.NullPointerException
  2. 0

    The following log is obtained from a misconfigured file:list operation: {code} ERROR 2016-01-15 14:34:43,672 [[ftp-app].ftp-appFlow.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : null. Payload : Element : /ftp-appFlow/processors/0 @ ftp-app -------------------------------------------------------------------------------- [2:35] ERROR 2016-01-15 14:34:55,674 [[ftp-app].ftp-appFlow.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : null. Payload : Element : /ftp-appFlow/processors/0 @ ftp-app -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.NullPointerException at sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77) at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53) {code} Error message should be friendlier and more descriptive about the problem that actually happened. The configuration that generated this is: {code:xml} <?xml version="1.0" encoding="UTF-8"?> ​ <mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd"> <file:config name="File_Connector_config" baseDir="/Users/pablocabrera/dev/connectors/connector-name-connector" doc:name="File Connector config"/> <flow name="ftp-appFlow"> <poll doc:name="Poll"> <logger message="Started Flow" level="INFO" doc:name="Logger"/> </poll> <file:list config-ref="File_Connector_config" doc:name="File Connector"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> </flow> </mule> {code}

    MuleSoft JIRA | 11 months ago | Mariano Gonzalez
    java.lang.NullPointerException
  3. 0

    NPE when running Sonar Runner

    Stack Overflow | 2 years ago | Andreas Gryphius
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SonarQube 5.1.2 fails to recognize relative path for sonar.sources

    Stack Overflow | 1 year ago | Anantha
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  6. 0

    While running ant task for sonar5.1 using jacoco plugin

    Stack Overflow | 8 months ago | Mubarak
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.nio.fs.UnixPath.normalizeAndCheck()
    2. Java RT
      AbstractPath.resolve
      1. sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:77)
      2. sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
      3. sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
      4. sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
      4 frames