java.lang.ArrayIndexOutOfBoundsException: 0

Terracotta Project Issue Tracker | Rein Raudjarv | 6 years ago
  1. 0

    Environment: ColorCache sample application Java 1.6.0_24 Mac OS X 10.6.7 Error stacktrace: java.lang.ArrayIndexOutOfBoundsException: 0 at java.net.InetAddress.getLocalHost(InetAddress.java:1356) at com.tc.config.schema.dynamic.ParameterSubstituter.getIpAddress(ParameterSubstituter.java:173) at com.tc.config.schema.dynamic.ParameterSubstituter.substitute(ParameterSubstituter.java:52) at com.tc.object.config.schema.L2DSOConfigObject.initializeNameAndHost(L2DSOConfigObject.java:216) at com.tc.object.config.schema.L2DSOConfigObject.initializeServers(L2DSOConfigObject.java:135) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.getConfigFromSourceStream(StandardXMLFileConfigurationCreator.java:495) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigurationData(StandardXMLFileConfigurationCreator.java:405) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigDataFromSources(StandardXMLFileConfigurationCreator.java:218) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigAndSetIntoRepositories(StandardXMLFileConfigurationCreator.java:116) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:98) at com.tc.config.schema.setup.BaseConfigurationSetupManager.runConfigurationCreator(BaseConfigurationSetupManager.java:122) at com.tc.config.schema.setup.L2ConfigurationSetupManagerImpl.<init>(L2ConfigurationSetupManagerImpl.java:112) at com.tc.config.schema.setup.StandardConfigurationSetupManagerFactory.createL2TVSConfigurationSetupManager(StandardConfigurationSetupManagerFactory.java:208) at com.tc.server.TCServerMain.main(TCServerMain.java:29) Steps to reproduce: 1. Add an alias to your localhost interface: sudo ifconfig lo0 alias 10.1.1.1 2. Turn AirPort Off: sudo ifconfig en1 down 3. Start the Sample Server: ehcache-2.4.2/samples/colorcache/bin/start-sample-server.sh

    Terracotta Project Issue Tracker | 6 years ago | Rein Raudjarv
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    Environment: ColorCache sample application Java 1.6.0_24 Mac OS X 10.6.7 Error stacktrace: java.lang.ArrayIndexOutOfBoundsException: 0 at java.net.InetAddress.getLocalHost(InetAddress.java:1356) at com.tc.config.schema.dynamic.ParameterSubstituter.getIpAddress(ParameterSubstituter.java:173) at com.tc.config.schema.dynamic.ParameterSubstituter.substitute(ParameterSubstituter.java:52) at com.tc.object.config.schema.L2DSOConfigObject.initializeNameAndHost(L2DSOConfigObject.java:216) at com.tc.object.config.schema.L2DSOConfigObject.initializeServers(L2DSOConfigObject.java:135) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.getConfigFromSourceStream(StandardXMLFileConfigurationCreator.java:495) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigurationData(StandardXMLFileConfigurationCreator.java:405) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigDataFromSources(StandardXMLFileConfigurationCreator.java:218) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigAndSetIntoRepositories(StandardXMLFileConfigurationCreator.java:116) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:98) at com.tc.config.schema.setup.BaseConfigurationSetupManager.runConfigurationCreator(BaseConfigurationSetupManager.java:122) at com.tc.config.schema.setup.L2ConfigurationSetupManagerImpl.<init>(L2ConfigurationSetupManagerImpl.java:112) at com.tc.config.schema.setup.StandardConfigurationSetupManagerFactory.createL2TVSConfigurationSetupManager(StandardConfigurationSetupManagerFactory.java:208) at com.tc.server.TCServerMain.main(TCServerMain.java:29) Steps to reproduce: 1. Add an alias to your localhost interface: sudo ifconfig lo0 alias 10.1.1.1 2. Turn AirPort Off: sudo ifconfig en1 down 3. Start the Sample Server: ehcache-2.4.2/samples/colorcache/bin/start-sample-server.sh

    Terracotta Project Issue Tracker | 6 years ago | Rein Raudjarv
    java.lang.ArrayIndexOutOfBoundsException: 0
  3. 0

    InetAddress.getLocalHost() resolution on OSX Lion when offline

    Stack Overflow | 5 years ago | Galder ZamarreƱo
    java.lang.ArrayIndexOutOfBoundsException: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running program suddenly hang without internet connection

    YouTrack | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: 0
  6. 0

    [package - 93i386-quarterly][devel/jna] Failed for jna-4.1.0 in build

    mail-archive.com | 8 months ago
    java.lang.ArrayIndexOutOfBoundsException: 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

      0

      at java.net.InetAddress.getLocalHost()
    2. Java RT
      InetAddress.getLocalHost
      1. java.net.InetAddress.getLocalHost(InetAddress.java:1356)
      1 frame
    3. com.tc.config
      ParameterSubstituter.substitute
      1. com.tc.config.schema.dynamic.ParameterSubstituter.getIpAddress(ParameterSubstituter.java:173)
      2. com.tc.config.schema.dynamic.ParameterSubstituter.substitute(ParameterSubstituter.java:52)
      2 frames
    4. com.tc.object
      L2DSOConfigObject.initializeServers
      1. com.tc.object.config.schema.L2DSOConfigObject.initializeNameAndHost(L2DSOConfigObject.java:216)
      2. com.tc.object.config.schema.L2DSOConfigObject.initializeServers(L2DSOConfigObject.java:135)
      2 frames
    5. com.tc.config
      StandardConfigurationSetupManagerFactory.createL2TVSConfigurationSetupManager
      1. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.getConfigFromSourceStream(StandardXMLFileConfigurationCreator.java:495)
      2. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigurationData(StandardXMLFileConfigurationCreator.java:405)
      3. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigDataFromSources(StandardXMLFileConfigurationCreator.java:218)
      4. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigAndSetIntoRepositories(StandardXMLFileConfigurationCreator.java:116)
      5. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:98)
      6. com.tc.config.schema.setup.BaseConfigurationSetupManager.runConfigurationCreator(BaseConfigurationSetupManager.java:122)
      7. com.tc.config.schema.setup.L2ConfigurationSetupManagerImpl.<init>(L2ConfigurationSetupManagerImpl.java:112)
      8. com.tc.config.schema.setup.StandardConfigurationSetupManagerFactory.createL2TVSConfigurationSetupManager(StandardConfigurationSetupManagerFactory.java:208)
      8 frames
    6. com.tc.server
      TCServerMain.main
      1. com.tc.server.TCServerMain.main(TCServerMain.java:29)
      1 frame