0 Replies Latest reply on Jan 15, 2018 11:02 AM by Laura O'Donnell

    Operation ("clean-obsolete-content") failed NPE

    Laura O'Donnell Newbie
      1. We are using Wildfly 9.0.1 and one of our customers has the app server installed on a linux environment and is getting this error:

      ERROR [org.jboss.as.controller.management-operation] WFLYCTL0013: Operation ("clean-obsolete-content") failed - address: ([]): java.lang.NullPointerException

      at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.listLocalContents(ContentRepository.java:428)

      at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.cleanObsoleteContent(ContentRepository.java:390)

      at org.jboss.as.server.operations.CleanObsoleteContentHandler.execute(CleanObsoleteContentHandler.java:76)

      at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:803)

      at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:601)

      at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:354)

      at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:330)

      at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1183)

      at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:362)

      at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:205)

      at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:626)

      at org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:616)

      at org.jboss.as.server.deployment.ContentRepositoryCleaner.cleanObsoleteContent(ContentRepositoryCleaner.java:132)

      at org.jboss.as.server.deployment.ContentRepositoryCleaner$ContentRepositoryCleanerTask.run(ContentRepositoryCleaner.java:67)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)

      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)

       

      12:55:03,531 ERROR [org.jboss.as.server] WFLYSRV0216: Error cleaning obsolete content WFLYCTL0158: Operation handler failed: java.lang.NullPointerException

      12:56:30,705 ERROR [io.undertow.request] UT005023: Exception handling request to /Manager/login/login.jsp: java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.login.login_jsp

      at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:91)

      at io.undertow.security.impl.FormAuthenticationMechanism.sendChallenge(FormAuthenticationMechanism.java:172)

      at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:389)

      at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:408)

      at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:408)

      at io.undertow.security.impl.SecurityContextImpl$ChallengeSender.access$300(SecurityContextImpl.java:372)

      at io.undertow.security.impl.SecurityContextImpl.sendChallenges(SecurityContextImpl.java:142)

      at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:116)

      at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:121)

      at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:106)

      at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)

      at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)

      at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

      at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

      at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)

      at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

      at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)

      at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

      at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)

      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)

      at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)

      at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)

      at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

      at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

      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)

      Caused by: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.login.login_jsp

      at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)

      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:321)

      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

      at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

      at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)

      at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

      at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)

      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:198)

      at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:195)

      at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)

      at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:89)

      ... 33 more

      Caused by: java.lang.ClassNotFoundException: org.apache.jsp.login.login_jsp

      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

      at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:137)

      at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69)

      at org.wildfly.extension.undertow.deployment.UndertowJSPInstanceManager.newInstance(UndertowJSPInstanceManager.java:59)

      at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:143)

       

      I've seen WFCORE-1138, but I don't know whether this is the same thing, and if so, what is causing it? 

      Suggestions?