java.lang.NullPointerException

QuickFIX/J JIRA | Michael Franz | 8 years ago
  1. 0

    QuickFIX/J Jira

    quickfixj.org | 6 months ago
    java.lang.NullPointerException
  2. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    From Toli Kuznets... I have a basic app that uses QFJ to communicate. I have a bunch of uni tests running continiously, and they've been passing with the app linked to 1.0.0-final of QuickFix/J. However, as soon as i tried switching to 1.0.2 i get the following error: Exception in thread "QFJ Socket Acceptor 126f75b" java.lang.NullPointerException at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:131) at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:70) at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:86) at java.lang.Thread.run(Unknown Source) There's no nested exception, and it's a thread created by QFJ and not my app. Switching the code back to using 1.0.0-final fixes the problem. I never used 1.0.1 so i can't tell if the problem manifests itself there as well. Any ideas on what could be causing this? This is happening both on Ubuntu Linux and MacOSX. Not even sure how to debug this since the exception is coming from a QFJ/mina code. ------------------------------------------------------------------------------------------------------------------------------- From Joerg Thoennes... Steve, the same happened to me. Today I got with version 1.0.1 this error: [2006-08-15 17:41:47,472] [INFO ] [quickfix.mina.acceptor.AcceptorIoHandler] (SocketAcceptor-0) MINA session created: /192.168.1.8:57611 [2006-08-15 17:41:47,573] [DEBUG] [FixLogFactory] (AnonymousIoService-1-2) FIX.4.2:FixGateway->FixClient: incoming: 8=FIX.4.2|9=62|35=5|34=1|49=FixClient|52=20060815-15:41:47.540|56=FixGateway|10=091| Exception in thread "QFJ Socket Acceptor 992bae" java.lang.NullPointerException at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:131) at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:70) at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:86) at java.lang.Thread.run(Thread.java:595) If I can reproduce this error tomorrow, I will send you more details.

    QuickFIX/J JIRA | 1 decade ago | Toli Kuznets
    java.lang.NullPointerException

    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 quickfix.LogUtil.logThrowable()
    2. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      SingleThreadedEventHandlingStrategy$1.run
      1. quickfix.LogUtil.logThrowable(LogUtil.java:54)
      2. quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:109)
      3. quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:70)
      4. quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:86)
      4 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame