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 Oracle Community by oladslw, 1 year ago
oracle.jbo.server.ViewDefImpl cannot be cast to com.blueberryc.endvi.framework.EndviViewDefImpl
java.lang.ClassCastException: oracle.jbo.server.ViewDefImpl cannot be cast to com.blueberryc.endvi.framework.EndviViewDefImpl	at com.blueberryc.endvi.framework.EndviViewObjectImpl.getViewDef(EndviViewObjectImpl.java:34)	at com.blueberryc.endvi.framework.EndviViewObjectImpl.getViewDef(EndviViewObjectImpl.java:19)	at oracle.jbo.server.ViewObjectImpl.setQueryMode(ViewObjectImpl.java:8812)	at oracle.jbo.server.ViewObjectImpl.initFromDef(ViewObjectImpl.java:924)	at oracle.jbo.server.ViewObjectImpl.setDef(ViewObjectImpl.java:851)	at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:221)	at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:4024)	at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:3968)	at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:4080)	at oracle.jbo.server.ViewAccessorDef.createViewObject(ViewAccessorDef.java:316)	at oracle.jbo.server.ViewObjectImpl.findOrCreateLocalViewObject(ViewObjectImpl.java:2394)	at oracle.jbo.server.ViewObjectImpl.findOrCreateLocalViewObject(ViewObjectImpl.java:2366)	at oracle.jbo.server.ViewRowImpl.findOrCreateLocalViewObject(ViewRowImpl.java:5662)	at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2585)	at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2599)	at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1816)	at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1897)	at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:840)	at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:922)	at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:870)	at oracle.jbo.server.ViewRowImpl.findOrCreateViewAccessorRS(ViewRowImpl.java:2530)	at oracle.jbo.server.ViewRowImpl.getListBindingRSI(ViewRowImpl.java:2473)	at oracle.jbo.server.ListBinding.getListRSI(ListBinding.java:85)	at oracle.jbo.server.ViewRowImpl.findListBindingRSI(ViewRowImpl.java:2314)	at oracle.jbo.server.ApplicationModuleImpl.internalGetListBindingRSI(ApplicationModuleImpl.java:9132)	at oracle.jbo.server.ApplicationModuleImpl.getListBindingRSI(ApplicationModuleImpl.java:9094)	at oracle.adf.model.bc4j.DCJboDataControl.internalGetListRSI(DCJboDataControl.java:2330)	at oracle.adf.model.bc4j.DCJboDataControl.getListBindingRSI(DCJboDataControl.java:2299)	at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:603)	at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:696)	at oracle.jbo.uicli.jui.JUComboBoxCtrlBinding.refreshListItem(JUComboBoxCtrlBinding.java:286)	at oracle.jbo.uicli.jui.JUComboBoxCtrlBinding$1mRunnable.run(JUComboBoxCtrlBinding.java:343)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)	at java.awt.EventQueue.access$000(EventQueue.java:85)	at java.awt.EventQueue$1.run(EventQueue.java:603)	at java.awt.EventQueue$1.run(EventQueue.java:601)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)