java.lang.ArrayIndexOutOfBoundsException

Coderanch | Daniel Obuba | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HttpsUrlConnection through a proxy returning ArrayIndexOutOfBounds Exception

    Coderanch | 4 years ago | Daniel Obuba
    java.lang.ArrayIndexOutOfBoundsException

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      No message provided

      at java.lang.System.arraycopy()
    2. Java RT
      HttpsURLConnectionImpl.getOutputStream
      1. java.lang.System.arraycopy(Native Method)
      2. sun.net.www.protocol.http.NTLMAuthentication.buildType3Msg(NTLMAuthentication.java:368)
      3. sun.net.www.protocol.http.NTLMAuthentication.setHeaders(NTLMAuthentication.java:225)
      4. sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1557)
      5. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
      6. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:979)
      7. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
      7 frames
    3. com.vasconsulting.www
      SMSHandler.provisionSubscriber
      1. com.vasconsulting.www.utility.RIMXMLUtility.sendXMLRequestToRIM(RIMXMLUtility.java:188)
      2. com.vasconsulting.www.utility.RIMXMLUtility.cancelSubscriptionByIMSI(RIMXMLUtility.java:333)
      3. com.vasconsulting.www.interfaces.impl.DeactivateBlackberryServiceCommandImpl.execute(DeactivateBlackberryServiceCommandImpl.java:61)
      4. com.vasconsulting.www.invokers.CommandInvoker.provision(CommandInvoker.java:34)
      5. com.vasconsulting.www.controllers.SMSHandler.provisionSubscriber(SMSHandler.java:150)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    5. Spring
      HandlerMethodInvoker.invokeHandlerMethod
      1. org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      1 frame
    6. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
      2. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      6 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    9. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)
      1 frame