java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RE: java.io.IOException: Too many open files
    via by Khaled Farj,
  • RE: java.io.IOException: Too many open files
    via by Khaled Farj,
  • Because Eclipse is not available for Solaris x86, I installed Spring STS and Spring AP in a Linux Branded Zone in OpenSolaris 5.11. Eclipse and STS runs fine, but Spring AP fails to start because of: -------------------------------------------------------------------------------- | | SpringSource Application Platform | -------------------------------------------------------------------------------- [2008-06-27 14:46:16.769] main <SPKB0001I> Platform starting. [2008-06-27 14:46:29.854] main <SPKE0000I> Boot subsystems installed. [2008-06-27 14:46:31.899] main <SPKE0001I> Base subsystems installed. [2008-06-27 14:46:36.611] platform-dm-0 <SPPM0000I> Installing profile 'web'. [2008-06-27 14:46:39.035] platform-dm-10 <SPFF0002I> Wrote dump file "/export/home/jwegne/Work/springsource-ap-1.0.0.beta6/serviceability/dump/2008-06-27_14-46-36.dump" com.springsource.platform.io.core.FatalIOException: Unable to determine network interface list. at com.springsource.platform.io.core.NetUtils.isPortAvailable(NetUtils.java:37) at com.springsource.platform.control.core.internal.PortCheckingRmiRegistryFactoryBean.afterPropertiesSet(PortCheckingRmiRegistryFactoryBean.java:33) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:276) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at com.springsource.platform.kernel.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:82) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketException: Bad address at java.net.NetworkInterface.getAll(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:281) at com.springsource.platform.io.core.NetUtils.isPortAvailable(NetUtils.java:35) ... 20 more and a lot more errors. I will also attach the corresponding AP trace file. I guess running Spring Application Platform in a Linux Branded Zone might not be an useful Use Case, but still it would be nice if you could use STS + AP on OpenSolaris.
    via by Josef Wegner,
    • java.lang.ExceptionInInitializerError at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:96) Caused by: org.openqa.selenium.WebDriverException: java.net.SocketException: Can't assign requested address Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18 17:14:00' System info: host: 'IM-413.local', ip: '10.1.0.229', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.7.0_45' Driver info: driver.version: unknown at org.openqa.selenium.net.DefaultNetworkInterfaceProvider.<init>(DefaultNetworkInterfaceProvider.java:46) at org.openqa.selenium.net.NetworkUtils.<init>(NetworkUtils.java:34) at org.openqa.selenium.server.SeleniumServer.<clinit>(SeleniumServer.java:205) ... 1 more Caused by: java.net.SocketException: Can't assign requested address at java.net.NetworkInterface.getAll(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:334) at org.openqa.selenium.net.DefaultNetworkInterfaceProvider.<init>(DefaultNetworkInterfaceProvider.java:44) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,