java.lang.ClassCastException: This exception has no message.

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 Hibernate JIRA by Henri ter Steeg, 1 year ago
This exception has no message.
via Hibernate JIRA by Henri ter Steeg, 1 year ago
This exception has no message.
java.lang.ClassCastException:
at net.sf.hibernate.type.StringType.toString(StringType.java:47)
at net.sf.hibernate.type.NullableType.toString(NullableType.java:78)
at net.sf.hibernate.impl.Printer.toString(Printer.java:49)
at net.sf.hibernate.impl.Printer.toString(Printer.java:82)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2245)
at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1769)
at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1536)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1501)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)
at nl.linkit.projects.sfdc.db2.SynchronizedSession.find(SynchronizedSession.java:66)
at nl.linkit.projects.sfdc.db2.ApparaatDaoHib.findStoringen(ApparaatDaoHib.java:44)
at nl.linkit.projects.sfdc.manager2.ApparaatManager.findRecenteStoringen(ApparaatManager.java:58)
at nl.linkit.projects.sfdc.manager2.ApparaatManager.refreshStoringen(ApparaatManager.java:62)
at nl.linkit.projects.sfdc.manager2.ApparaatManager.(ApparaatManager.java:43)
at nl.linkit.projects.sfdc.manager2.ApparaatManagerFactory.getApparaatManager(ApparaatManagerFactory.java:31)
at nl.linkit.projects.sfdc.td.swing.ApparaatStatusPanelFactory.getApparaatStatusPanel(ApparaatStatusPanelFactory.java:24)
at nl.linkit.projects.sfdc.td.swing.ApparatuurOverzichtPanel.(ApparatuurOverzichtPanel.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:66)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:395)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:177)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
at nl.linkit.projects.sfdc.td.TdConsole.main(TdConsole.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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.