Re: FileNotFoundException

2021-05-18 Thread Martin Grigorov
On Tue, May 18, 2021, 17:27 Eric Hamel  wrote:

> Martin,
>
> ViewerControls is a serializable class (pojo). I see it’s being referenced
> in a PackageResourceReference inside a behavior for loading different css
> files based on properties inside ViewerControls.


Does it fail occasionally or always?
Maybe it breaks for some of the properties?!
Show us the related code!


>
> If this is the culprit, I’m not sure how I would go about to solving this.
>
> —
> Eric Hamel
> Senior Project Manager
> Albany Information Technology Group
> C. 518-698-4503
>
> > On May 18, 2021, at 9:38 AM, Martin Grigorov 
> wrote:
> >
> > Hi,
> >
> > See inline!
> >
> >> On Tue, May 18, 2021 at 4:02 PM Eric Hamel 
> wrote:
> >>
> >> Good morning,
> >>
> >> For the last month I’ve been struggling to find the root cause of the
> >> following exception. It is polluting our logs and I’m just not
> >> understanding what’s happening here.
> >>
> >> We’re on Wicket 6.24.0
> >>
> >> Any help would be appreciated.
> >>
> >> Thank you
> >>
> >> E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter
> SRVE8109W:
> >> Uncaught exception thrown by filter wicket:
> java.io.FileNotFoundException:
> >> SRVE0190E: File not found:
> >>
> /wicket/resource/gov.osc.ouf.web.components.viewer.controls.ViewerControls
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor._processEDR(DefaultExtensionProcessor.java:976)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.processEDR(DefaultExtensionProcessor.java:957)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:485)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
> >>
> >>   at
> >>
> >>
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:267)
> >>
> >
> >
> https://github.com/apache/wicket/blob/rel/wicket-6.24.0/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java#L267
> > - here we see that Wicket didn't process the request and let the next
> > Servlet Filter to do it, namely
> > com.ibm.ws.webcontainer.filter.WebAppFilterChain
> > Later it fails with "File not found".
> >
> > The question is why Wicket didn't handle the request to
> /wicket/resource/...
> > Wicket produces such urls for ResourceReferences like JavaScript and CSS,
> > but "gov.osc.ouf.web.components.viewer.controls.ViewerControls" has no
> > extension ...
> > You need to find out where this resource reference is contributed to the
> > page and why its url looks incomplete.
> >
> >
> >>
> >>   at
> >>
> >>
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
> >
> >
> >>   at
> >>
> >>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
> >>
> >>   at
> >> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
> >>
> >>   at
> >> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
> >>
> >>   at
> >>
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
> >>
> >>   at
> >>
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
> >>
> >>   at
> >>
> >>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
> >>
> >>   at
> >>
> >>
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> >>
> >>  

Re: FileNotFoundException

2021-05-18 Thread Eric Hamel
Martin,

ViewerControls is a serializable class (pojo). I see it’s being referenced in a 
PackageResourceReference inside a behavior for loading different css files 
based on properties inside ViewerControls. 

If this is the culprit, I’m not sure how I would go about to solving this. 

—
Eric Hamel
Senior Project Manager
Albany Information Technology Group
C. 518-698-4503

> On May 18, 2021, at 9:38 AM, Martin Grigorov  wrote:
> 
> Hi,
> 
> See inline!
> 
>> On Tue, May 18, 2021 at 4:02 PM Eric Hamel  wrote:
>> 
>> Good morning,
>> 
>> For the last month I’ve been struggling to find the root cause of the
>> following exception. It is polluting our logs and I’m just not
>> understanding what’s happening here.
>> 
>> We’re on Wicket 6.24.0
>> 
>> Any help would be appreciated.
>> 
>> Thank you
>> 
>> E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter SRVE8109W:
>> Uncaught exception thrown by filter wicket: java.io.FileNotFoundException:
>> SRVE0190E: File not found:
>> /wicket/resource/gov.osc.ouf.web.components.viewer.controls.ViewerControls
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor._processEDR(DefaultExtensionProcessor.java:976)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.processEDR(DefaultExtensionProcessor.java:957)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:485)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
>> 
>>   at
>> 
>> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:267)
>> 
> 
> https://github.com/apache/wicket/blob/rel/wicket-6.24.0/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java#L267
> - here we see that Wicket didn't process the request and let the next
> Servlet Filter to do it, namely
> com.ibm.ws.webcontainer.filter.WebAppFilterChain
> Later it fails with "File not found".
> 
> The question is why Wicket didn't handle the request to /wicket/resource/...
> Wicket produces such urls for ResourceReferences like JavaScript and CSS,
> but "gov.osc.ouf.web.components.viewer.controls.ViewerControls" has no
> extension ...
> You need to find out where this resource reference is contributed to the
> page and why its url looks incomplete.
> 
> 
>> 
>>   at
>> 
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
> 
> 
>>   at
>> 
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
>> 
>>   at
>> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
>> 
>>   at
>> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
>> 
>>   at
>> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
>> 
>>   at
>> 
>> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
>> 
>>   at
>> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
>> 
>>   at
>> 
>> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
>> 
>>   at
>> 
>> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
>> 
>>   at
>> 
>> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
>> 
>>   at
>> 
>> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
>> 
>>   at
>> 
>> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
>> 
>>   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:138)
>> 
>>   at
>> com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>> 
>>   at
>> 
>> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>> 
>>   at
>> com.ibm.io.asyn

Re: FileNotFoundException

2021-05-18 Thread Martin Grigorov
Hi,

See inline!

On Tue, May 18, 2021 at 4:02 PM Eric Hamel  wrote:

> Good morning,
>
> For the last month I’ve been struggling to find the root cause of the
> following exception. It is polluting our logs and I’m just not
> understanding what’s happening here.
>
> We’re on Wicket 6.24.0
>
> Any help would be appreciated.
>
> Thank you
>
> E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter SRVE8109W:
> Uncaught exception thrown by filter wicket: java.io.FileNotFoundException:
> SRVE0190E: File not found:
> /wicket/resource/gov.osc.ouf.web.components.viewer.controls.ViewerControls
>
>at
>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor._processEDR(DefaultExtensionProcessor.java:976)
>
>at
>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.processEDR(DefaultExtensionProcessor.java:957)
>
>at
>
> com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:485)
>
>at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
>
>at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
>
>at
>
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:267)
>

https://github.com/apache/wicket/blob/rel/wicket-6.24.0/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java#L267
- here we see that Wicket didn't process the request and let the next
Servlet Filter to do it, namely
com.ibm.ws.webcontainer.filter.WebAppFilterChain
Later it fails with "File not found".

The question is why Wicket didn't handle the request to /wicket/resource/...
Wicket produces such urls for ResourceReferences like JavaScript and CSS,
but "gov.osc.ouf.web.components.viewer.controls.ViewerControls" has no
extension ...
You need to find out where this resource reference is contributed to the
page and why its url looks incomplete.


>
>at
>
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)


>at
>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
>
>at
>
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
>
>at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
>
>at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
>
>at
>
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
>
>at
> com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
>
>at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
>
>at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
>
>at
>
> com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
>
>at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
>
>at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
>
>at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
>
>at
>
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
>
>at
>
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
>
>at
>
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
>
>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:138)
>
>at
> com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
>
>at
>
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
>
>at
> com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
>
>at
> com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
>


FileNotFoundException

2021-05-18 Thread Eric Hamel
Good morning,

For the last month I’ve been struggling to find the root cause of the
following exception. It is polluting our logs and I’m just not
understanding what’s happening here.

We’re on Wicket 6.24.0

Any help would be appreciated.

Thank you

E com.ibm.ws.webcontainer.filter.FilterInstanceWrapper doFilter SRVE8109W:
Uncaught exception thrown by filter wicket: java.io.FileNotFoundException:
SRVE0190E: File not found:
/wicket/resource/gov.osc.ouf.web.components.viewer.controls.ViewerControls

   at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor._processEDR(DefaultExtensionProcessor.java:976)

   at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.processEDR(DefaultExtensionProcessor.java:957)

   at
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:485)

   at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)

   at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)

   at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:267)

   at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)

   at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)

   at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

   at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

   at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)

   at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)

   at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)

   at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)

   at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)

   at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

   at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)

   at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)

   at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)

   at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)

   at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)

   at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

   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:138)

   at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

   at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

   at
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

   at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)