java.lang.NullPointerException

MuleSoft JIRA | Ari Ruotsalainen | 7 years ago
  1. 0

    FtpConnector does not check ftp reply code in public OutputStream getOutputStream(ImmutableEndpoint endpoint, MuleMessage message) If ftp sends error message mule produces following stack race: ERROR 2010-02-22 19:03:43,121 [vmConnector.dispatcher.35] org.mule.DefaultEx ceptionStrategy: Caught exception in Exception Strategy: null java.lang.NullPointerException at org.mule.model.streaming.CallbackOutputStream.close(CallbackOutputStr eam.java:59) at org.mule.transport.ftp.FtpMessageDispatcher.doDispatch(FtpMessageDisp atcher.java:72) at org.mule.transport.ftp.FtpMessageDispatcher.doSend(FtpMessageDispatch er.java:78) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDisp atcher.java:162) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:2099 ) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoin t.java:97) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:316) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:202) at org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(Ab stractOutboundRouter.java:152) When same operation is tried using normal ftp-client the error is: 550 There is not enough space on the disk. To get more appropriate error message there should be something like this in the method: {code} OutputStream out = client.storeFileStream(filename); if (out == null) { throw new IOException("FTP operation failed: " + client.getReplyString()); } {code}

    MuleSoft JIRA | 7 years ago | Ari Ruotsalainen
    java.lang.NullPointerException
  2. 0

    FtpConnector does not check ftp reply code in public OutputStream getOutputStream(ImmutableEndpoint endpoint, MuleMessage message) If ftp sends error message mule produces following stack race: ERROR 2010-02-22 19:03:43,121 [vmConnector.dispatcher.35] org.mule.DefaultEx ceptionStrategy: Caught exception in Exception Strategy: null java.lang.NullPointerException at org.mule.model.streaming.CallbackOutputStream.close(CallbackOutputStr eam.java:59) at org.mule.transport.ftp.FtpMessageDispatcher.doDispatch(FtpMessageDisp atcher.java:72) at org.mule.transport.ftp.FtpMessageDispatcher.doSend(FtpMessageDispatch er.java:78) at org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDisp atcher.java:162) at org.mule.transport.AbstractConnector.send(AbstractConnector.java:2099 ) at org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoin t.java:97) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:316) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:202) at org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(Ab stractOutboundRouter.java:152) When same operation is tried using normal ftp-client the error is: 550 There is not enough space on the disk. To get more appropriate error message there should be something like this in the method: {code} OutputStream out = client.storeFileStream(filename); if (out == null) { throw new IOException("FTP operation failed: " + client.getReplyString()); } {code}

    MuleSoft JIRA | 7 years ago | Ari Ruotsalainen
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.mule.model.streaming.CallbackOutputStream.close()
    2. Mule Core
      CallbackOutputStream.close
      1. org.mule.model.streaming.CallbackOutputStream.close(CallbackOutputStream.java:59)
      1 frame
    3. org.mule.transport
      FtpMessageDispatcher.doSend
      1. org.mule.transport.ftp.FtpMessageDispatcher.doDispatch(FtpMessageDispatcher.java:72)
      2. org.mule.transport.ftp.FtpMessageDispatcher.doSend(FtpMessageDispatcher.java:78)
      2 frames
    4. Mule Core
      DefaultMuleSession.sendEvent
      1. org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:162)
      2. org.mule.transport.AbstractConnector.send(AbstractConnector.java:2099)
      3. org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:97)
      4. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:316)
      5. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:202)
      5 frames