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

NoSuchElementException when app is started without process application

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.2.0-alpha5
    • Fix Version/s: 7.2.0, 7.2.0-alpha6
    • Component/s: engine
    • Labels:
      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: