java.lang.IllegalStateException: The exception handler is already set with sun.awt.exception.handler

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Kurt Battisti, 1 year ago
The exception handler is already set with sun.awt.exception.handler
via Spring JIRA by Kurt Battisti, 1 year ago
The exception handler is already set with sun.awt.exception.handler
java.lang.IllegalStateException: The exception handler is already set with sun.awt.exception.handler
at org.springframework.richclient.exceptionhandling.AwtExceptionHandlerAdapterHack.registerExceptionHandler(AwtExceptionHandlerAdapterHack.java:33)
at org.springframework.richclient.exceptionhandling.DefaultRegisterableExceptionHandler.registerExceptionHandler(DefaultRegisterableExceptionHandler.java:28)
at org.springframework.richclient.application.config.ApplicationLifecycleAdvisor.afterPropertiesSet(ApplicationLifecycleAdvisor.java:83)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:697)
at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:521)
at org.springframework.richclient.application.ApplicationLauncher.loadRootApplicationContext(ApplicationLauncher.java:244)
at org.springframework.richclient.application.ApplicationLauncher.(ApplicationLauncher.java:152)
at org.springframework.richclient.samples.simple.app.SimpleApp.main(SimpleApp.java:85)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.