Heyvaert / wiquery

Automatically exported from code.google.com/p/wiquery
0 stars 0 forks source link

Wiquery 1.5.3.1 is Java 1.5 incompatible #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Deploy a wiquery app on Java 1.5

What is the expected output? What do you see instead?

Expected output: the requested page
Instead: the wicket filter does not start up due to a NoClassDefFoundError (See 
stacktrace below)

What version of the product are you using? On what operating system?

version: 1.5.3.1
os: windows

Additional information:

AbstractWiQueryDecoratingHeaderResponse uses 2 classes that are not available 
in Java 1.5 (Deque/LinkedBlockingDeque) Eclipse & Maven do not report this as a 
problem despite them being set to JRE-compatibility 1.5, only when using a real 
1.5 JDK the problem is reported.

[24/01/12 10:26:21:506 CET] 00000070 WebApp        E   [Servlet Error]-[Filter 
[wicket]: filter is unavailable.]: java.lang.NoClassDefFoundError: 
java.util.Deque
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:67)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
    at org.odlabs.wiquery.core.WiQueryCoreInitializer$1.decorate(WiQueryCoreInitializer.java:26)
    at org.apache.wicket.Application.decorateHeaderResponse(Application.java:1649)
    at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.getHeaderResponse(HtmlHeaderContainer.java:288)
    at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:127)
    at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:72)
    at org.apache.wicket.Component.internalRenderComponent(Component.java:2528)
    at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1576)
    at org.apache.wicket.Component.internalRender(Component.java:2358)
    at org.apache.wicket.Component.render(Component.java:2286)
    at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1474)
    at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1638)
    at org.apache.wicket.Page.onRender(Page.java:910)
    at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:140)
    at org.apache.wicket.Component.internalRender(Component.java:2358)
    at org.apache.wicket.Component.render(Component.java:2286)
    at org.apache.wicket.Page.renderPage(Page.java:1041)
    at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
    at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
    at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:167)
    at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781)
    at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
    at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
    at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
    at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:850)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:760)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:713)
    at com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:132)
    at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:894)
    at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:819)
    at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3574)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:270)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:792)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
Caused by: java.lang.ClassNotFoundException: java.util.Deque
    at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:605)
    at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:440)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:606)
    ... 67 more

Original issue reported on code.google.com by stijn.ma...@bluebilt.be on 24 Jan 2012 at 9:38

GoogleCodeExporter commented 9 years ago
This problem indeed only appears when the 1.5 jre/jdk is used. Will replace the 
chosen list with a java 1.5 implementation.

Original comment by hielke.hoeve on 13 Feb 2012 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 13 Feb 2012 at 12:44