java.lang.RuntimeException: Invalid order side: 8

QuickFIX/J JIRA | Hiranya Jayathilaka | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Steps to reproduce the faulty state; 1. Start Banzai and Executor 2. In Banzai specify the side to be 'Cross' and send a message (This will give an exception in Executor side) 3. Now send a valid message from Banzai (specifying the side as Buy or Sell) Doing this will force Executor to an infinite loop giving the following output over and over... <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, incoming> (8=FIX.4.19=12535=D34=443=Y49=BANZAI52=20080312-03:48:5956=EXEC122=20080312-03:48:5711=120529373765021=138=540=154=155=IBM59=010=103) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (MsgSeqNum too high, expecting 3 but received 4) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, outgoing> (8=FIX.4.19=6435=234=3549=EXEC52=20080312-03:48:5956=BANZAI7=316=99999910=200) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (Sent ResendRequest FROM: 3 TO: 999999) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, incoming> (8=FIX.4.19=12535=D34=343=Y49=BANZAI52=20080312-03:48:5956=EXEC122=20080312-03:48:5411=120529373427321=138=540=154=855=IBM59=010=104) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (ResendRequest for messages FROM 3 TO 3 has been satisfied.) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (Invalid order side: 8 java.lang.RuntimeException: Invalid order side: 8 at quickfix.examples.executor.Application.getPrice(Application.java:185) at quickfix.examples.executor.Application.onMessage(Application.java:204) at quickfix.fix41.MessageCracker.crack41(MessageCracker.java:205) at quickfix.MessageCracker.crack(MessageCracker.java:45) at quickfix.examples.executor.Application.fromApp(Application.java:131) at quickfix.Session.fromCallback(Session.java:1287) at quickfix.Session.verify(Session.java:1245) at quickfix.Session.verify(Session.java:1316) at quickfix.Session.next(Session.java:727) at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:106) 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) )

    QuickFIX/J JIRA | 9 years ago | Hiranya Jayathilaka
    java.lang.RuntimeException: Invalid order side: 8
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Steps to reproduce the faulty state; 1. Start Banzai and Executor 2. In Banzai specify the side to be 'Cross' and send a message (This will give an exception in Executor side) 3. Now send a valid message from Banzai (specifying the side as Buy or Sell) Doing this will force Executor to an infinite loop giving the following output over and over... <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, incoming> (8=FIX.4.19=12535=D34=443=Y49=BANZAI52=20080312-03:48:5956=EXEC122=20080312-03:48:5711=120529373765021=138=540=154=155=IBM59=010=103) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (MsgSeqNum too high, expecting 3 but received 4) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, outgoing> (8=FIX.4.19=6435=234=3549=EXEC52=20080312-03:48:5956=BANZAI7=316=99999910=200) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (Sent ResendRequest FROM: 3 TO: 999999) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, incoming> (8=FIX.4.19=12535=D34=343=Y49=BANZAI52=20080312-03:48:5956=EXEC122=20080312-03:48:5411=120529373427321=138=540=154=855=IBM59=010=104) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (ResendRequest for messages FROM 3 TO 3 has been satisfied.) <20080312-03:48:59, FIX.4.1:EXEC->BANZAI, event> (Invalid order side: 8 java.lang.RuntimeException: Invalid order side: 8 at quickfix.examples.executor.Application.getPrice(Application.java:185) at quickfix.examples.executor.Application.onMessage(Application.java:204) at quickfix.fix41.MessageCracker.crack41(MessageCracker.java:205) at quickfix.MessageCracker.crack(MessageCracker.java:45) at quickfix.examples.executor.Application.fromApp(Application.java:131) at quickfix.Session.fromCallback(Session.java:1287) at quickfix.Session.verify(Session.java:1245) at quickfix.Session.verify(Session.java:1316) at quickfix.Session.next(Session.java:727) at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:106) 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) )

    QuickFIX/J JIRA | 9 years ago | Hiranya Jayathilaka
    java.lang.RuntimeException: Invalid order side: 8
  4. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException : CONFIGURATION FAILED! Class org.jboss.as.web.deployment.jsf.JandexAnnotationPr ovider is not an instance of com.sun.faces.spi.AnnotationProvider at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi stener.java:292) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(Standar dContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 821) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]

    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.RuntimeException

      Invalid order side: 8

      at quickfix.examples.executor.Application.getPrice()
    2. quickfix.examples.executor
      Application.onMessage
      1. quickfix.examples.executor.Application.getPrice(Application.java:185)
      2. quickfix.examples.executor.Application.onMessage(Application.java:204)
      2 frames
    3. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      MessageCracker.crack
      1. quickfix.fix41.MessageCracker.crack41(MessageCracker.java:205)
      2. quickfix.MessageCracker.crack(MessageCracker.java:45)
      2 frames
    4. quickfix.examples.executor
      Application.fromApp
      1. quickfix.examples.executor.Application.fromApp(Application.java:131)
      1 frame
    5. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      SingleThreadedEventHandlingStrategy$1.run
      1. quickfix.Session.fromCallback(Session.java:1287)
      2. quickfix.Session.verify(Session.java:1245)
      3. quickfix.Session.verify(Session.java:1316)
      4. quickfix.Session.next(Session.java:727)
      5. quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:106)
      6. quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:70)
      7. quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:86)
      7 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame