java.lang.ArrayIndexOutOfBoundsException: No such child: 1

Terracotta Project Issue Tracker | Li Ma | 7 years ago
  1. 0

    Run dev-console against one server with two clients, which has Hibernate+EHCache and Session clustering in Express mode, got the following exceptions in dev-console's terminal console: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.setSelectedCacheModel(EhcacheRuntimeStatsPanel.java:216) at org.terracotta.modules.ehcache.presentation.CacheManagerPanel.propertyChange(CacheManagerPanel.java:71) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8213) at org.terracotta.modules.ehcache.presentation.EhcacheConfigPanel.valueChanged(EhcacheConfigPanel.java:100) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398) at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442) at javax.swing.JTable.setRowSelectionInterval(JTable.java:2128) at com.tc.admin.common.XTable.setSelectedRows(XTable.java:271) at com.tc.admin.common.XTable.setSelectedRow(XTable.java:277) at org.terracotta.modules.ehcache.presentation.EhcacheConfigPanel$CacheTableModelGetter.finished(EhcacheConfigPanel.java:221) at com.tc.admin.common.BasicWorker$1.run(BasicWorker.java:59) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: No such child: 1 at java.awt.Container.getComponent(Container.java:294) at org.terracotta.modules.ehcache.presentation.EhcachePresentationPanel$2.run(EhcachePresentationPanel.java:221) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.terracotta.modules.ehcache.presentation.BaseEhcacheStatsChartPanel.setup(BaseEhcacheStatsChartPanel.java:96) at org.terracotta.modules.ehcache.presentation.ClientEhcacheStatsChartPanel.setup(ClientEhcacheStatsChartPanel.java:28) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.createClientEhcacheStatsChartPanel(EhcacheRuntimeStatsPanel.java:266) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.access$200(EhcacheRuntimeStatsPanel.java:41) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel$1.run(EhcacheRuntimeStatsPanel.java:161) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun.management.ManagementFactory at com.tc.management.L1Info.isVerboseGC(L1Info.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:105) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:39) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:220) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:77) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:228) at javax.management.StandardMBean.getAttribute(StandardMBean.java:370) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650) at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:222) at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951) at java.security.AccessController.doPrivileged(AccessController.java:284) at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727) at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629) at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266) at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208) at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59) Caused by: java.lang.ClassNotFoundException: sun.management.ManagementFactory at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at java.net.URLClassLoader.findClass(URLClassLoader.java:383) at org.terracotta.session.L1Loader.findClass(L1Loader.java:25) at java.lang.ClassLoader.loadClass(ClassLoader.java:652) at java.lang.ClassLoader.loadClass(ClassLoader.java:618) ... 21 more Dev-console seams to be throwing more exceptions than earlier versions. Really need to have more robust code in dev-console to be tolerable to exceptions like these.

    Terracotta Project Issue Tracker | 7 years ago | Li Ma
    java.lang.ArrayIndexOutOfBoundsException: No such child: 1
  2. 0

    Run dev-console against one server with two clients, which has Hibernate+EHCache and Session clustering in Express mode, got the following exceptions in dev-console's terminal console: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.setSelectedCacheModel(EhcacheRuntimeStatsPanel.java:216) at org.terracotta.modules.ehcache.presentation.CacheManagerPanel.propertyChange(CacheManagerPanel.java:71) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8213) at org.terracotta.modules.ehcache.presentation.EhcacheConfigPanel.valueChanged(EhcacheConfigPanel.java:100) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398) at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442) at javax.swing.JTable.setRowSelectionInterval(JTable.java:2128) at com.tc.admin.common.XTable.setSelectedRows(XTable.java:271) at com.tc.admin.common.XTable.setSelectedRow(XTable.java:277) at org.terracotta.modules.ehcache.presentation.EhcacheConfigPanel$CacheTableModelGetter.finished(EhcacheConfigPanel.java:221) at com.tc.admin.common.BasicWorker$1.run(BasicWorker.java:59) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: No such child: 1 at java.awt.Container.getComponent(Container.java:294) at org.terracotta.modules.ehcache.presentation.EhcachePresentationPanel$2.run(EhcachePresentationPanel.java:221) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.terracotta.modules.ehcache.presentation.BaseEhcacheStatsChartPanel.setup(BaseEhcacheStatsChartPanel.java:96) at org.terracotta.modules.ehcache.presentation.ClientEhcacheStatsChartPanel.setup(ClientEhcacheStatsChartPanel.java:28) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.createClientEhcacheStatsChartPanel(EhcacheRuntimeStatsPanel.java:266) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel.access$200(EhcacheRuntimeStatsPanel.java:41) at org.terracotta.modules.ehcache.presentation.EhcacheRuntimeStatsPanel$1.run(EhcacheRuntimeStatsPanel.java:161) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun.management.ManagementFactory at com.tc.management.L1Info.isVerboseGC(L1Info.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:105) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:39) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:220) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:77) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:228) at javax.management.StandardMBean.getAttribute(StandardMBean.java:370) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:678) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:650) at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:222) at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951) at java.security.AccessController.doPrivileged(AccessController.java:284) at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727) at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629) at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266) at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208) at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59) Caused by: java.lang.ClassNotFoundException: sun.management.ManagementFactory at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at java.net.URLClassLoader.findClass(URLClassLoader.java:383) at org.terracotta.session.L1Loader.findClass(L1Loader.java:25) at java.lang.ClassLoader.loadClass(ClassLoader.java:652) at java.lang.ClassLoader.loadClass(ClassLoader.java:618) ... 21 more Dev-console seams to be throwing more exceptions than earlier versions. Really need to have more robust code in dev-console to be tolerable to exceptions like these.

    Terracotta Project Issue Tracker | 7 years ago | Li Ma
    java.lang.ArrayIndexOutOfBoundsException: No such child: 1
  3. 0

    ArrayIndexOutOfBoundsException in OBA.getModuleAt()

    GitHub | 3 years ago | davidsullivan317
    java.lang.ArrayIndexOutOfBoundsException: No such child: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to get rid of this

    Oracle Community | 2 decades ago | 807582
    java.lang.ArrayIndexOutOfBoundsException: No such child: 1
  6. 0

    Re:Plugin under Community Edition of SDE-NB

    Visual-paradigm | 7 years ago | Anonymous
    java.lang.ArrayIndexOutOfBoundsException: No such child: 2

    2 unregistered visitors
    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

      No such child: 1

      at java.awt.Container.getComponent()
    2. Java RT
      Container.getComponent
      1. java.awt.Container.getComponent(Container.java:294)
      1 frame
    3. org.terracotta.modules
      EhcachePresentationPanel$2.run
      1. org.terracotta.modules.ehcache.presentation.EhcachePresentationPanel$2.run(EhcachePresentationPanel.java:221)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      8. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      8 frames