java.lang.NullPointerException

MuleSoft JIRA | Irina Golubtsova | 9 years ago
  1. 0

    -Install dev version of Mule 1.4.2 on Linux -Check MULE_HOME/src dir. It has only one file mule-1.4.2-SNAPSHOT-src.zip -From MULE_HOME/bin level type mule -config ../src/mule-config.xml Actual Results: Since mule-config.xml was not found in the specified dir, the NullPointer Exception was thrown. See output on Console below: ------------------------------------------- $ mule -config ../src/mule-config.xml Usage: /home/irina/mule/bin/mule { console | start | stop | restart | status | dump } No command specified, running in console (foreground) mode by default, use Ctrl-C to exit... Running Mule... --> Wrapper Started as Console Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO 2007-08-21 14:27:44,100 [WrapperSimpleAppMain] org.mule.MuleServer: Mule Server starting... ERROR 2007-08-21 14:27:44,851 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** Message : null (java.lang.NullPointerException) Type : org.mule.config.ConfigurationException Code : MULE_ERROR-12999 JavaDoc : http://mule.mulesource.org/docs/apidocs/org/mule/config/ConfigurationException.html ******************************************************************************** Exception stack is: 1. null (java.lang.NullPointerException) java.io.Reader:61 (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NullPointerException.html) 2. null (java.lang.NullPointerException) (org.mule.config.ConfigurationException) org.mule.config.builders.MuleXmlConfigurationBuilder:223 (http://mule.mulesource.org/docs/apidocs/org/mule/config/ConfigurationException.html) ******************************************************************************** Root Exception stack trace: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208) at org.mule.MuleServer.initialize(MuleServer.java:294) at org.mule.MuleServer.run(MuleServer.java:207) at org.mule.MuleServer.start(MuleServer.java:195) at org.mule.MuleServer.main(MuleServer.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Thread.java:534) ******************************************************************************** INFO 2007-08-21 14:27:44,851 [WrapperSimpleAppMain] org.mule.MuleManager: Creating new MuleManager instance ERROR 2007-08-21 14:27:45,035 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * null (java.lang.NullPointerException) * * * * The error is fatal, the system must shutdown * * Server started: 12/31/69 4:00 PM * * Server shutdown: 8/21/07 2:27 PM * ******************************************************************************** INFO 2007-08-21 14:27:45,042 [Thread-0] org.mule.MuleManager: disposing agents... INFO 2007-08-21 14:27:45,042 [Thread-0] org.mule.MuleManager: Agents Successfully Disposed <-- Wrapper Stopped

    MuleSoft JIRA | 9 years ago | Irina Golubtsova
    java.lang.NullPointerException
  2. 0

    -Install dev version of Mule 1.4.2 on Linux -Check MULE_HOME/src dir. It has only one file mule-1.4.2-SNAPSHOT-src.zip -From MULE_HOME/bin level type mule -config ../src/mule-config.xml Actual Results: Since mule-config.xml was not found in the specified dir, the NullPointer Exception was thrown. See output on Console below: ------------------------------------------- $ mule -config ../src/mule-config.xml Usage: /home/irina/mule/bin/mule { console | start | stop | restart | status | dump } No command specified, running in console (foreground) mode by default, use Ctrl-C to exit... Running Mule... --> Wrapper Started as Console Launching a JVM... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO 2007-08-21 14:27:44,100 [WrapperSimpleAppMain] org.mule.MuleServer: Mule Server starting... ERROR 2007-08-21 14:27:44,851 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** Message : null (java.lang.NullPointerException) Type : org.mule.config.ConfigurationException Code : MULE_ERROR-12999 JavaDoc : http://mule.mulesource.org/docs/apidocs/org/mule/config/ConfigurationException.html ******************************************************************************** Exception stack is: 1. null (java.lang.NullPointerException) java.io.Reader:61 (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NullPointerException.html) 2. null (java.lang.NullPointerException) (org.mule.config.ConfigurationException) org.mule.config.builders.MuleXmlConfigurationBuilder:223 (http://mule.mulesource.org/docs/apidocs/org/mule/config/ConfigurationException.html) ******************************************************************************** Root Exception stack trace: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208) at org.mule.MuleServer.initialize(MuleServer.java:294) at org.mule.MuleServer.run(MuleServer.java:207) at org.mule.MuleServer.start(MuleServer.java:195) at org.mule.MuleServer.main(MuleServer.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Thread.java:534) ******************************************************************************** INFO 2007-08-21 14:27:44,851 [WrapperSimpleAppMain] org.mule.MuleManager: Creating new MuleManager instance ERROR 2007-08-21 14:27:45,035 [WrapperSimpleAppMain] org.mule.MuleServer: ******************************************************************************** * A Fatal error has occurred while the server was running: * * null (java.lang.NullPointerException) * * * * The error is fatal, the system must shutdown * * Server started: 12/31/69 4:00 PM * * Server shutdown: 8/21/07 2:27 PM * ******************************************************************************** INFO 2007-08-21 14:27:45,042 [Thread-0] org.mule.MuleManager: disposing agents... INFO 2007-08-21 14:27:45,042 [Thread-0] org.mule.MuleManager: Agents Successfully Disposed <-- Wrapper Stopped

    MuleSoft JIRA | 9 years ago | Irina Golubtsova
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Weird NPE when trying to work with appstats

    Google Groups | 6 years ago | Vikas Hazrati
    java.lang.NullPointerException
  5. 0

    Problem with AppStats

    Google Groups | 7 years ago | George Tang
    java.lang.NullPointerException

  1. Handemelindo 1 times, last 6 days ago
  2. kid 1 times, last 3 weeks ago
  3. Tahir 8 times, last 2 months ago
  4. rlovtangen 2 times, last 3 months ago
  5. Christopher 3 times, last 3 months ago
5 more registered users
18 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 java.io.Reader.<init>()
  2. Java RT
    InputStreamReader.<init>
    1. java.io.Reader.<init>(Reader.java:61)
    2. java.io.InputStreamReader.<init>(InputStreamReader.java:80)
    2 frames
  3. Mule Core
    MuleServer.main
    1. org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
    2. org.mule.MuleServer.initialize(MuleServer.java:294)
    3. org.mule.MuleServer.run(MuleServer.java:207)
    4. org.mule.MuleServer.start(MuleServer.java:195)
    5. org.mule.MuleServer.main(MuleServer.java:166)
    5 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  5. Java Service Wrapper
    WrapperSimpleApp.run
    1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame