java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

javatips.net | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.ArrayIndexOutOfBoundsException: 0 | Jaspersoft Community

    jaspersoft.com | 2 weeks ago
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IBM IV47787: ARRAYINDEXOUTOFBOUNDSEXCEPTION WITH SOME FONTS USING LINEBREAKME ASURER - United States

    ibm.com | 2 weeks ago
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      Array index out of range: 0

      at sun.font.ExtendedTextSourceLabel.createCharinfo()
    2. Java RT
      LineBreakMeasurer.nextLayout
      1. sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.java:586)
      2. sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java:486)
      3. sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextSourceLabel.java:420)
      4. java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:337)
      5. java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:573)
      6. java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:362)
      7. java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:444)
      8. java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:417)
      8 frames
    3. JasperReports
      JasperFillManager.fillReport
      1. net.sf.jasperreports.engine.fill.TextMeasurer.renderNextLine(TextMeasurer.java:611)
      2. net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(TextMeasurer.java:444)
      3. net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:397)
      4. net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:1008)
      5. net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:525)
      6. net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:327)
      7. net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:402)
      8. net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:361)
      9. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBandNoOverflow(JRVerticalFiller.java:422)
      10. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:385)
      11. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:246)
      12. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:110)
      13. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:923)
      14. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:826)
      15. net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:59)
      16. net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
      17. net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
      17 frames
    4. com.blueshieldca.aso
      ReportsDAOHibernateImpl.createCooReport
      1. com.blueshieldca.aso.dataaccess.dao.impl.ReportsDAOHibernateImpl.createCooReport(ReportsDAOHibernateImpl.java:797)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:619)
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. com.blueshieldca.aso
      LoggingInterceptor.invoke
      1. com.blueshieldca.aso.core.logging.LoggingInterceptor.invoke(LoggingInterceptor.java:59)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      4 frames
    9. com.sun.proxy
      $Proxy16.createCooReport
      1. com.sun.proxy.$Proxy16.createCooReport(Unknown Source)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:619)
      4 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    12. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    14. com.sun.proxy
      $Proxy17.createCooReport
      1. com.sun.proxy.$Proxy17.createCooReport(Unknown Source)
      1 frame
    15. com.blueshieldca.aso
      ReportsServiceManagerImpl.createCooReport
      1. com.blueshieldca.aso.business.manager.impl.ReportsServiceManagerImpl.createCooReport(ReportsServiceManagerImpl.java:445)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:619)
      4 frames
    17. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    18. com.blueshieldca.aso
      LoggingInterceptor.invoke
      1. com.blueshieldca.aso.core.logging.LoggingInterceptor.invoke(LoggingInterceptor.java:59)
      1 frame
    19. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    20. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    21. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      4 frames
    22. com.sun.proxy
      $Proxy18.createCooReport
      1. com.sun.proxy.$Proxy18.createCooReport(Unknown Source)
      1 frame
    23. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:619)
      4 frames
    24. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    25. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    26. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    27. com.sun.proxy
      $Proxy19.createCooReport
      1. com.sun.proxy.$Proxy19.createCooReport(Unknown Source)
      1 frame
    28. com.blueshieldca.aso
      TempInvoicesController.approve
      1. com.blueshieldca.aso.controller.TempInvoicesController.approve(TempInvoicesController.java:338)
      1 frame
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:619)
      4 frames
    30. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:473)
      2. org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:410)
      3. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      4. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
      8 frames
    31. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    32. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1154)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
      3 frames
    33. Acegi Security Core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
      1 frame
    34. com.blueshieldca.aso
      ChangePasswordFilter.doFilterInternal
      1. com.blueshieldca.aso.util.ChangePasswordFilter.doFilterInternal(ChangePasswordFilter.java:71)
      1 frame
    35. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    36. Acegi Security Core
      AbstractProcessingFilter.doFilter
      1. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      2. org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      3. org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      4. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      5. org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
      6. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      7. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      7 frames