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
via Hibernate JIRA by Henri ter Steeg, 2 years ago
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 java.lang.reflect.Constructor.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.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:183)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:58)	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 java.lang.reflect.Method.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)