3 Replies Latest reply on Oct 12, 2015 4:57 AM by Ales Justin

    java.lang.NoSuchMethodError

    Giacomo Genovese Newbie

      Hi Everybody,

      This is my first question and I hope it's not a stupid one.

      I'm trying to run a GAE application using Capedwarf in my local machine.

      I receive such error message:

      16:46:50,550 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /register: java.lang.NoSuchMethodError: com.google.appengine.api.search.query.ParserUtils.isNumber(Ljava/lang/CharSequence;)Z

        at org.jboss.capedwarf.search.GAEQueryTreeVisitor.visitValue(GAEQueryTreeVisitor.java:145) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at org.jboss.capedwarf.search.GAEQueryTreeVisitor.visitValue(GAEQueryTreeVisitor.java:50) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at com.google.appengine.api.search.query.QueryTreeWalker.walkInternal(QueryTreeWalker.java:133) [appengine-api-1.0-sdk-1.9.19.jar:]

        at com.google.appengine.api.search.query.QueryTreeWalker.walkChildren(QueryTreeWalker.java:154) [appengine-api-1.0-sdk-1.9.19.jar:]

        at com.google.appengine.api.search.query.QueryTreeWalker.walkInternal(QueryTreeWalker.java:98) [appengine-api-1.0-sdk-1.9.19.jar:]

        at com.google.appengine.api.search.query.QueryTreeWalker.walkChildren(QueryTreeWalker.java:154) [appengine-api-1.0-sdk-1.9.19.jar:]

        at com.google.appengine.api.search.query.QueryTreeWalker.walkInternal(QueryTreeWalker.java:73) [appengine-api-1.0-sdk-1.9.19.jar:]

        at com.google.appengine.api.search.query.QueryTreeWalker.walk(QueryTreeWalker.java:57) [appengine-api-1.0-sdk-1.9.19.jar:]

        at org.jboss.capedwarf.search.QueryConverter.convert(QueryConverter.java:59) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at org.jboss.capedwarf.search.QueryConverter.convert(QueryConverter.java:50) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at org.jboss.capedwarf.search.CapedwarfSearchIndex.createLuceneQuery(CapedwarfSearchIndex.java:233) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at org.jboss.capedwarf.search.CapedwarfSearchIndex.search(CapedwarfSearchIndex.java:166) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at org.jboss.capedwarf.search.CapedwarfSearchIndex.search(CapedwarfSearchIndex.java:159) [capedwarf-search-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at com.lysis.virtualobject.DocumentManage.docSearch(DocumentManage.java:315) [classes:]

        at com.lysis.virtualobject.DocumentManage.existSemanticEntry(DocumentManage.java:123) [classes:]

        at com.lysis.virtualobject.DocumentManage.storeMySemantic(DocumentManage.java:94) [classes:]

        at com.lysis.virtualobject.registration.RegisterServlet.doPost(RegisterServlet.java:84) [classes:]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]

        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:129) [undertow-websockets-jsr-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at org.jboss.capedwarf.appidentity.GAEFilter.doFilter(GAEFilter.java:62) [capedwarf-appidentity-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]

        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

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

        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761) [undertow-core-1.1.8.Final.jar:1.1.8.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_80]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_80]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80]

      I don't understand if it's my application fault or some bad setting in Capedwarf, do you have some suggestion?

       

      Thanks a lot!

       

      Regards,

      Giacomo.