我有一场战争,并在eclipse kepler中导入,但我有这个错误。 我不知道发生了什么。
我使用服务器wildfly 8.0和jdk 1.7。
16:46:39,244 ERROR [stderr] (default task-2) java.lang.NullPointerException
16:46:39,244 ERROR [stderr] (default task-2) at Cupon.Estudiante.getValidarEntrada(Estudiante.java:99)
16:46:39,244 ERROR [stderr] (default task-2) at org.apache.jsp.loginCosmosFinanciera_jsp._jspService(loginCosmosFinanciera_jsp.java:88)
16:46:39,245 ERROR [stderr] (default task-2) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
16:46:39,245 ERROR [stderr] (default task-2) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
16:46:39,245 ERROR [stderr] (default task-2) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
16:46:39,245 ERROR [stderr] (default task-2) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
16:46:39,245 ERROR [stderr] (default task-2) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
16:46:39,246 ERROR [stderr] (default task-2) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
16:46:39,246 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
16:46:39,246 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
16:46:39,246 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
16:46:39,246 ERROR [stderr] (default task-2) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
16:46:39,247 ERROR [stderr] (default task-2) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:46:39,247 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
16:46:39,247 ERROR [stderr] (default task-2) at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
16:46:39,247 ERROR [stderr] (default task-2) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
16:46:39,247 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
16:46:39,248 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
16:46:39,248 ERROR [stderr] (default task-2) at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
16:46:39,248 ERROR [stderr] (default task-2) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:46:39,248 ERROR [stderr] (default task-2) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
16:46:39,249 ERROR [stderr] (default task-2) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:46:39,249 ERROR [stderr] (default task-2) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
16:46:39,249 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)
16:46:39,249 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
16:46:39,249 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
16:46:39,250 ERROR [stderr] (default task-2) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
16:46:39,250 ERROR [stderr] (default task-2) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168)
16:46:39,250 ERROR [stderr] (default task-2) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687)
16:46:39,250 ERROR [stderr] (default task-2) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
16:46:39,250 ERROR [stderr] (default task-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
16:46:39,251 ERROR [stderr] (default task-2) at java.lang.Thread.run(Thread.java:745)
希望得到帮助
Ps:在eclipse juno中运行jboss 5.10之前,这里运行正常。