Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2881

NoSuchElementException when app is started without process application

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.2.0, 7.2.0-alpha6
    • 7.2.0-alpha5
    • engine
    • None

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              meyer Daniel Meyer
              sreiterer Stefan Reiterer
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce