Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6523

Please fix NPE in KnowledgeRuntimeEngine.getKieSession()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • jboss-fuse-6.2.1
    • Integration Pack
    • None
    • % %
    • Hide

      It is suspected that this is the root cause of a second NPE that can be observed in this way:

      • Run the ''switchyard-rules-interview' quickstart under concurrent use (10 threads for 10 requests each reliably produces an NPE on my machine).

      Note that this test will raise an NPE in the OutboundHandler. Closer inspection reveals that this NPE is the result of handling an earlier thrown NPE, thought to be the KIE session access problem.

      Show
      It is suspected that this is the root cause of a second NPE that can be observed in this way: Run the ''switchyard-rules-interview' quickstart under concurrent use (10 threads for 10 requests each reliably produces an NPE on my machine). Note that this test will raise an NPE in the OutboundHandler. Closer inspection reveals that this NPE is the result of handling an earlier thrown NPE, thought to be the KIE session access problem.

      A NullPointerException is raised in KnowledgeRuntimeEngine.getKieSession(). It is believed to be caused by a non-existent RuntimeEngine, the result of a race condition.

              tcunning@redhat.com Thomas Cunningham
              rhn-support-rick Rick Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: