org.jboss.capedwarf.bytecode.CursorTransformer@4313ce44: toByteString(..) is not found in com.google.appengine.api.datastore.Cursor
jenchong Aug 16, 2015 1:50 PMHi Ales,
We finally tried CapeDwarf again after 2 years. We fix many issues in GAE4J itself, thanks to a better warnings by CapeDwarf. But we are stuck here with the error in the subject with some of our APIs. Could you advise us on what might be wrong? Some info that might help:
JAVA_HOME=C:\jdk1.7.0_51
GAE_JAVA_SDK_HOME=C:\appengine-java-sdk-1.9.12
Windows 7
Latest CapeDwarf (CapeDwarf_WildFly_2.0.0.Final), running locally not on PaaS like OpenShift
The full logs is as the following:
23:08:40,934 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http mana
gement interface listening on http://127.0.0.1:9990/management
23:08:40,936 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin con
sole listening on http://127.0.0.1:9990
23:08:40,947 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Cap
edwarf 2.0.0.Final (WildFly 8.2.1.Final) started in 78710ms - Started 1090 of 12
56 services (259 services are lazy, passive or on-demand)
23:09:19,847 WARN [org.jboss.modules] (default task-3) Failed to define class c
om.google.appengine.api.datastore.Cursor in Module "deployment.ROOT.war:main" fr
om Service Module Loader: java.lang.ClassFormatError: Error using transformer or
g.jboss.capedwarf.bytecode.CursorTransformer@4313ce44: toByteString(..) is not f
ound in com.google.appengine.api.datastore.Cursor
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.jav
a:476) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.
java:277) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoade
r.java:92) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modu
les.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:
205) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(Con
currentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(Concu
rrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentCl
assLoader.java:389) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoad
er.java:134) [jboss-modules.jar:1.3.3.Final]
at org.jboss.capedwarf.datastore.query.CapedwarfCursorHelper.<clinit>(Ca
pedwarfCursorHelper.java:39) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPS
HOT]
at org.jboss.capedwarf.datastore.query.LazyQueryResultList.getDelegate(L
azyQueryResultList.java:56) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSH
OT]
at org.jboss.capedwarf.datastore.query.LazyQueryResultList.getDelegate(L
azyQueryResultList.java:37) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSH
OT]
at org.jboss.capedwarf.datastore.query.LazyList.size(LazyList.java:54) [
capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at com.google.common.collect.Lists$TransformingSequentialList.size(Lists
.java:536) [guava-15.0.jar:]
at java.util.HashSet.<init>(HashSet.java:116) [rt.jar:1.7.0_45]
at com.google.common.collect.Sets.newHashSet(Sets.java:218) [guava-15.0.
jar:]
at org.jboss.capedwarf.datastore.NamespaceServiceImpl.getSet(NamespaceSe
rviceImpl.java:66) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.datastore.NamespaceServiceImpl.getNamespaces(Name
spaceServiceImpl.java:73) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT
]
at org.jboss.capedwarf.admin.DatastoreViewer.getNamespaces(DatastoreView
er.java:97) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.DatastoreViewer$Proxy$_$$_WeldClientProxy.g
etNamespaces(Unknown Source) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1
.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.PropertyExecu
tor.execute(PropertyExecutor.java:142) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0
-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.util.introspection.UberspectImpl$
VelGetterImpl.invoke(UberspectImpl.java:533) [capedwarf-admin-2.0.0-SNAPSHOT.jar
:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTIdentifier
.execute(ASTIdentifier.java:198) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPS
HOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTReference.
execute(ASTReference.java:262) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHO
T]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTReference.
value(ASTReference.java:507) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.directive.Foreach.render(
Foreach.java:282) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTDirective.
render(ASTDirective.java:175) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT
]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.SimpleNode.re
nder(SimpleNode.java:336) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.Template.merge(Template.java:328)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.Template.merge(Template.java:235)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.AdminServlet.serveVelocityPage(AdminServlet
.java:97) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.AdminServlet.service(AdminServlet.java:71)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-s
ervlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHand
ler.java:86) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(F
ilterHandler.java:130) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFi
lter.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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:175)
[tapestry-core-5.3.8.jar:]
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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.j
ava:176) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:14
5) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewri
ter.java:92) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:381) [urlrewrite-3.2.0.jar:3.2.0]
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(F
ilterHandler.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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandle
r.java:85) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.hand
leRequest(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.SecurityContextAssociationHan
dler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandle
r.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1
.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandle
r.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.1.
8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AuthenticationConstraintHandler.handleR
equest(AuthenticationConstraintHandler.java:51) [undertow-core-1.1.8.Final.jar:1
.1.8.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRe
quest(AbstractConfidentialityHandler.java:46) [undertow-core-1.1.8.Final.jar:1.1
.8.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstrain
tHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [underto
w-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandle
r.handleRequest(ServletSecurityConstraintHandler.java:56) [undertow-servlet-1.1.
8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleR
equest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.8.Final.jar:1
.1.8.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandl
er.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.
1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(Se
curityInitialHandler.java:76) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.han
dleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.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(Se
rvletInitialHandler.java:248) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(Servlet
InitialHandler.java:77) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(Se
rvletInitialHandler.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:7
61) [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_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: java.lang.instrument.IllegalClassFormatException: Error using transfo
rmer org.jboss.capedwarf.bytecode.CursorTransformer@4313ce44: toByteString(..) i
s not found in com.google.appengine.api.datastore.Cursor
at org.jboss.capedwarf.bytecode.JavassistTransformer.transform(Javassist
Transformer.java:51) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.MultipleTransformer.transform(MultipleTr
ansformer.java:54) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.ListTransformer.transform(ListTransforme
r.java:45) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.as.server.deployment.module.DelegatingClassFileTransformer.
transform(DelegatingClassFileTransformer.java:60)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.jav
a:474) [jboss-modules.jar:1.3.3.Final]
... 81 more
Caused by: javassist.NotFoundException: toByteString(..) is not found in com.goo
gle.appengine.api.datastore.Cursor
at javassist.CtClassType.getDeclaredMethod(CtClassType.java:1229) [javas
sist-3.18.1-GA.jar:3.18.0-GA]
at org.jboss.capedwarf.bytecode.CursorTransformer.transformInternal(Curs
orTransformer.java:101) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.RewriteTransformer.transform(RewriteTran
sformer.java:38) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.JavassistTransformer.transform(Javassist
Transformer.java:48) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
... 85 more
23:09:20,266 ERROR [io.undertow.request] (default task-3) UT005023: Exception ha
ndling request to /_ah/admin/datastore.vm: javax.servlet.ServletException: org.j
boss.capedwarf.apache.velocity.exception.MethodInvocationException: Invocation o
f method 'getNamespaces' in class org.jboss.capedwarf.admin.DatastoreViewer$Pro
xy$_$$_WeldClientProxy threw exception java.lang.ClassFormatError: Error using t
ransformer org.jboss.capedwarf.bytecode.CursorTransformer@4313ce44: toByteString
(..) is not found in com.google.appengine.api.datastore.Cursor at /org/jboss/cap
edwarf/admin/datastore.vm[line 8, column 49]
at org.jboss.capedwarf.admin.AdminServlet.service(AdminServlet.java:76)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-s
ervlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHand
ler.java:86) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(F
ilterHandler.java:130) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFi
lter.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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:175)
[tapestry-core-5.3.8.jar:]
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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.j
ava:176) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:14
5) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewri
ter.java:92) [urlrewrite-3.2.0.jar:3.2.0]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:381) [urlrewrite-3.2.0.jar:3.2.0]
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(F
ilterHandler.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(F
ilterHandler.java:132) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandle
r.java:85) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.hand
leRequest(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.SecurityContextAssociationHan
dler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandle
r.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1
.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandle
r.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.1.
8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AuthenticationConstraintHandler.handleR
equest(AuthenticationConstraintHandler.java:51) [undertow-core-1.1.8.Final.jar:1
.1.8.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRe
quest(AbstractConfidentialityHandler.java:46) [undertow-core-1.1.8.Final.jar:1.1
.8.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstrain
tHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [underto
w-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandle
r.handleRequest(ServletSecurityConstraintHandler.java:56) [undertow-servlet-1.1.
8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleR
equest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.8.Final.jar:1
.1.8.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandl
er.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.
1.8.Final.jar:1.1.8.Final]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(Se
curityInitialHandler.java:76) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.han
dleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.java:43) [undertow-core-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateH
andler.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(Se
rvletInitialHandler.java:248) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(Servlet
InitialHandler.java:77) [undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(Se
rvletInitialHandler.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:7
61) [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_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.capedwarf.apache.velocity.exception.MethodInvocationExcepti
on: Invocation of method 'getNamespaces' in class org.jboss.capedwarf.admin.Dat
astoreViewer$Proxy$_$$_WeldClientProxy threw exception java.lang.ClassFormatErro
r: Error using transformer org.jboss.capedwarf.bytecode.CursorTransformer@4313ce
44: toByteString(..) is not found in com.google.appengine.api.datastore.Cursor a
t /org/jboss/capedwarf/admin/datastore.vm[line 8, column 49]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTIdentifier
.execute(ASTIdentifier.java:237) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPS
HOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTReference.
execute(ASTReference.java:262) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHO
T]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTReference.
value(ASTReference.java:507) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.directive.Foreach.render(
Foreach.java:282) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTDirective.
render(ASTDirective.java:175) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT
]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.SimpleNode.re
nder(SimpleNode.java:336) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.Template.merge(Template.java:328)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.Template.merge(Template.java:235)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.AdminServlet.serveVelocityPage(AdminServlet
.java:97) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.AdminServlet.service(AdminServlet.java:71)
[capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
... 46 more
Caused by: java.lang.ClassFormatError: Error using transformer org.jboss.capedwa
rf.bytecode.CursorTransformer@4313ce44: toByteString(..) is not found in com.goo
gle.appengine.api.datastore.Cursor
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.jav
a:476) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.
java:277) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoade
r.java:92) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modu
les.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:
205) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(Con
currentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(Concu
rrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentCl
assLoader.java:389) [jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoad
er.java:134) [jboss-modules.jar:1.3.3.Final]
at org.jboss.capedwarf.datastore.query.CapedwarfCursorHelper.<clinit>(Ca
pedwarfCursorHelper.java:39) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPS
HOT]
at org.jboss.capedwarf.datastore.query.LazyQueryResultList.getDelegate(L
azyQueryResultList.java:56) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSH
OT]
at org.jboss.capedwarf.datastore.query.LazyQueryResultList.getDelegate(L
azyQueryResultList.java:37) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSH
OT]
at org.jboss.capedwarf.datastore.query.LazyList.size(LazyList.java:54) [
capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at com.google.common.collect.Lists$TransformingSequentialList.size(Lists
.java:536) [guava-15.0.jar:]
at java.util.HashSet.<init>(HashSet.java:116) [rt.jar:1.7.0_45]
at com.google.common.collect.Sets.newHashSet(Sets.java:218) [guava-15.0.
jar:]
at org.jboss.capedwarf.datastore.NamespaceServiceImpl.getSet(NamespaceSe
rviceImpl.java:66) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.datastore.NamespaceServiceImpl.getNamespaces(Name
spaceServiceImpl.java:73) [capedwarf-datastore-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT
]
at org.jboss.capedwarf.admin.DatastoreViewer.getNamespaces(DatastoreView
er.java:97) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.admin.DatastoreViewer$Proxy$_$$_WeldClientProxy.g
etNamespaces(Unknown Source) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1
.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43) [rt.jar:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.PropertyExecu
tor.execute(PropertyExecutor.java:142) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0
-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.util.introspection.UberspectImpl$
VelGetterImpl.invoke(UberspectImpl.java:533) [capedwarf-admin-2.0.0-SNAPSHOT.jar
:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.apache.velocity.runtime.parser.node.ASTIdentifier
.execute(ASTIdentifier.java:198) [capedwarf-admin-2.0.0-SNAPSHOT.jar:2.0.0-SNAPS
HOT]
... 55 more
Caused by: java.lang.instrument.IllegalClassFormatException: Error using transfo
rmer org.jboss.capedwarf.bytecode.CursorTransformer@4313ce44: toByteString(..) i
s not found in com.google.appengine.api.datastore.Cursor
at org.jboss.capedwarf.bytecode.JavassistTransformer.transform(Javassist
Transformer.java:51) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.MultipleTransformer.transform(MultipleTr
ansformer.java:54) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.ListTransformer.transform(ListTransforme
r.java:45) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.as.server.deployment.module.DelegatingClassFileTransformer.
transform(DelegatingClassFileTransformer.java:60)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.jav
a:474) [jboss-modules.jar:1.3.3.Final]
... 81 more
Caused by: javassist.NotFoundException: toByteString(..) is not found in com.goo
gle.appengine.api.datastore.Cursor
at javassist.CtClassType.getDeclaredMethod(CtClassType.java:1229) [javas
sist-3.18.1-GA.jar:3.18.0-GA]
at org.jboss.capedwarf.bytecode.CursorTransformer.transformInternal(Curs
orTransformer.java:101) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.RewriteTransformer.transform(RewriteTran
sformer.java:38) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.jboss.capedwarf.bytecode.JavassistTransformer.transform(Javassist
Transformer.java:48) [capedwarf-bytecode-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
... 85 more