• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.IllegalArgumentException

 
saurabh dinesh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi everyone,
this is my 1st post as I am the new joinee...

I'm getting java.lang.IllegalArgumentException error while opening a PDF.Please help.

whole error is :



00000060 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet ReportServlet. Exception thrown : java.lang.IllegalArgumentException: /../common/errorPage.jsp
at com.ibm.ws.util.WSUtil.resolveURI(WSUtil.java:110)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.getConfig(JSPExtensionProcessor.java:365)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.findWrapper(JSPExtensionProcessor.java:237)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:228)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
at com.icici.triton.servlet.common.ReportServlet.doGet(ReportServlet.java:314)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:69)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

Awaiting your responses.
Thanks.
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gaurav. Welcome to the Ranch!

Well, the error message suggests that you've got a servlet trying to forward to the address /../common/errorPage.jsp. That looks like an invalid path - is that in your configuration somewhere? If so, you need to fix it.

Since that looks like an error handler, the chances are you've got another error that's currently being hidden, but you'll have to fix the first one to find out more.
 
saurabh dinesh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thank you Matthew Brown for your instant reply,

Actually I tell you what the actual problem is.When I connected new DB schema to front end and I tried to open a file then it gave me error 500 that "The page can not be displayed".When I checked the log then it was showing what I posted here yesterday.So my question is what could be changes in front end after connecting to new DB schema as it was working fine at old schema.Please give more suggestions.

Thanks.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Changing DB schema normally do not cause this error.
Please let us know the DB changes that you have done.
As mentioned earlier, It seems like error.jsp has been placed in wrong folder.

Thanks
Abhay
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it sounds like the change broke something, but because you've got an error in your error page configuration you aren't getting any information as to what. So, as I said, you need to fix the configuration. Then you might get some more useful feedback as to the underlying cause.
 
saurabh dinesh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All;

Thank you very much for your reply as problem is solved now.The error was coming due to backend issue.Actually in one PDF wuery the function was missing in the database so it was giving error.But thanks again for your valuable feedback.


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!