Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-635

Null Pointer Exception when starting a session with Apache Synapse

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: Engine
    • Labels:
    • Environment:
      Linux, JBoss 5.1.GA, Apache Synapse 2.0

      Description

      QuickFIX/J versions greater than 1.4.0 do not work with Apache Synapse. See following stack trace for more details:

      java.lang.NullPointerException
      at quickfix.Session.<init>(Session.java:455)
      at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:179)
      at quickfix.mina.acceptor.AbstractSocketAcceptor.createSessions(AbstractSocketAcceptor.java:246)
      at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:81)
      at quickfix.mina.acceptor.AbstractSocketAcceptor.<init>(AbstractSocketAcceptor.java:97)
      at quickfix.SocketAcceptor.<init>(SocketAcceptor.java:37)
      at org.apache.synapse.transport.fix.FIXSessionFactory.createFIXAcceptor(FIXSessionFactory.java:124)
      at org.apache.synapse.transport.fix.FIXTransportListener.startListeningForService(FIXTransportListener.java:76)
      at org.apache.axis2.transport.base.AbstractTransportListener.internalStartListeningForService(AbstractTransportListener.java:213)
      at org.apache.axis2.transport.base.AbstractTransportListener$2.serviceAdded(AbstractTransportListener.java:126)
      at org.apache.axis2.transport.base.tracker.AxisServiceTracker.serviceAdded(AxisServiceTracker.java:212)
      at org.apache.axis2.transport.base.tracker.AxisServiceTracker.start(AxisServiceTracker.java:188)
      at org.apache.axis2.transport.base.AbstractTransportListener.start(AbstractTransportListener.java:178)
      at org.apache.axis2.engine.ListenerManager.start(ListenerManager.java:148)
      at org.apache.synapse.Axis2SynapseController.start(Axis2SynapseController.java:244)
      at org.apache.synapse.ServerManager.start(ServerManager.java:185)
      at org.apache.synapse.core.axis2.SynapseStartUpServlet.init(SynapseStartUpServlet.java:58)

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              marklcurtis33 Mark Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: