NoSuchElementException when app is started without process application

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.2.0, 7.2.0-alpha6
    • Affects Version/s: 7.2.0-alpha5
    • Component/s: engine
    • None

      The problem occurs when camunda-webapp is started on WAS 8.5

      The method org.camunda.bpm.application.impl.ServletProcessApplicationDeployer#onStartup gets a set with one entry as first parameter. The only element is the annotation @ProcessApplication itself. In the method, the annotation class is removed. After the removal, no entry is in the set.

      This leads to an error in the line Class<?> paClass = c.iterator().next();

      Stacktrace:
      [13.10.14 15:57:49:683 CEST] 0000007a SystemErr R Caused by: java.util.NoSuchElementException
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at java.util.HashMap$HashIterator.nextEntry(HashMap.java:940)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at java.util.HashMap$KeyIterator.next(HashMap.java:971)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at org.camunda.bpm.application.impl.ServletProcessApplicationDeployer.onStartup(ServletProcessApplicationDeployer.java:71)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:613)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      [13.10.14 15:57:49:684 CEST] 0000007a SystemErr R ... 99 more

        This is the controller panel for Smart Panels app

              Assignee:
              Daniel Meyer
              Reporter:
              Stefan Reiterer
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: