[ https://issues.apache.org/jira/browse/AXIS2-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-3058. -------------------------------------- Resolution: Fixed Thx for finding that out , I fixed that in both trunk and the branch > StringIndexOutofBoundException and NullPointerException > ------------------------------------------------------- > > Key: AXIS2-3058 > URL: https://issues.apache.org/jira/browse/AXIS2-3058 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.3, 1.2 > Environment: Redhat Enterprise Linux 4u2, Netscape Enterprise Server > 6.2, firefox webbrowser > Reporter: david > Priority: Critical > > In axis2-1.2 release, probably in axis2-1.3RC as well, I got > StringIndexOutOfBoundException from the kernel module ListingAgent.java at > line 92 String portstr = ip.substring(seperatorIndex + 1, slashIndex); The > reason for this exception is that it looks for url like this: > http://localhost:8080/axis2/services/listServices, it has to have > :PORT_NUMBER, but in my linux RHEL 4 with firefox web browser, it defaults > to port number 80, so the URL will be > http://localhost/axis2/services/listServices, I found this after I put debug > message in the ListingAgent.java. so I tried this new URL: > http://localhost:80/axis2/services/listServices, I got NullPointerException > as follows. > [01/Aug/2007:07:02:36] failure ( 3722): Internal error: exception thrown from > the servlet service function (uri=/axis2/axis2-web/listServices.jsp): > java.lang.NullPointerException: IWSHttpSession: Session attribute name or > value is null, Stack: java.lang.NullPointerException: IWSHttpSession: > Session attribute name or value is null > at > com.netscape.server.http.session.IWSHttpSession.setAttribute(IWSHttpSession.java:500) > at > _jsps._axis2_web._listServices_jsp._jspService(_listServices_jsp.java:141) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:108) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$600(JspServlet.java:97) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:538) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:606) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > com.netscape.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:894) > at > com.netscape.server.http.servlet.WebApplication.service(WebApplication.java:1219) > at > com.netscape.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:956) > at > com.netscape.server.http.servlet.NSServletSession.internalRedirect(Native > Method) > at > com.netscape.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatcher.java:93) > at > org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:118) > at > org.apache.axis2.transport.http.ListingAgent.processListServices(ListingAgent.java:375) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.axis2.transport.http.AbstractAgent.handle(AbstractAgent.java:77) > at > org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java:109) > at > org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:233) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > com.netscape.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:894) > at > com.netscape.server.http.servlet.WebApplication.service(WebApplication.java:1219) > at > com.netscape.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:956) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]