java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When deployed attached "ugspa.war" into EAP 7.0.0 GA, error shows: ~~~ 2016-06-23 08:53:11,036 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 76) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ugspa: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ugspa: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.registerFilter(AbstractSecurityWebApplicationInitializer.java:216) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.registerFilters(AbstractSecurityWebApplicationInitializer.java:198) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.insertFilters(AbstractSecurityWebApplicationInitializer.java:162) at sg.edu.nus.ugspa.config.security.SecurityWebApplicationInitializer.beforeSpringSecurityFilterChain(SecurityWebApplicationInitializer.java:11) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.onStartup(AbstractSecurityWebApplicationInitializer.java:112) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184) ... 8 more ---And if deploy again--- 2016-06-23 09:30:30,819 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 136) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ugspa: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./ugspa: java.lang.RuntimeException: java.lang.NullPointerException at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: java.lang.NullPointerException at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.NullPointerException at sg.edu.nus.ugspa.config.web.WebApplicationInitializer.onStartup(WebApplicationInitializer.java:43) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184) ... 8 more ~~~
    via by Stuart Douglas,
    • java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:231) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.IllegalStateException: Duplicate Filter registration for 'multipartFilter'. Check to ensure the Filter is only configured once. at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.registerFilter(AbstractSecurityWebApplicationInitializer.java:216) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.registerFilters(AbstractSecurityWebApplicationInitializer.java:198) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.insertFilters(AbstractSecurityWebApplicationInitializer.java:162) at sg.edu.nus.ugspa.config.security.SecurityWebApplicationInitializer.beforeSpringSecurityFilterChain(SecurityWebApplicationInitializer.java:11) at org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.onStartup(AbstractSecurityWebApplicationInitializer.java:112) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:184) ... 8 more

    Users with the same issue

    serious2monkeys
    3 times, last one,
    Unknown visitor1 times, last one,