-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.2.0-alpha5
-
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