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.RowImpl.isRefreshRequired(RowImpl.java:592)	at oracle.jbo.server.ViewRowImpl.isRefreshRequired(ViewRowImpl.java:5568)	at oracle.jbo.server.RowImpl.isRefreshRequired(RowImpl.java:577)	at oracle.jbo.server.RowImpl.isRefreshRequired(RowImpl.java:563)	at oracle.jbo.server.ViewRowImpl.markViewAccessorsDirty(ViewRowImpl.java:5742)	at oracle.jbo.server.ViewRowImpl.setAttributeValues(ViewRowImpl.java:1842)	at oracle.adf.model.binding.DCDataControl.setAttributesInRow(DCDataControl.java:2427)	at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeValuesInRow(JUCtrlValueBinding.java:967)	at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2778)	at oracle.jbo.uicli.jui.JULovButtonBinding.performLOVAction(JULovButtonBinding.java:894)	at oracle.jbo.uicli.jui.JULovButtonBinding.actionPerformed(JULovButtonBinding.java:833)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)	at java.awt.Component.processMouseEvent(Component.java:6289)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)	at java.awt.Component.processEvent(Component.java:6054)	at java.awt.Container.processEvent(Container.java:2041)	at java.awt.Component.dispatchEventImpl(Component.java:4652)	at java.awt.Container.dispatchEventImpl(Container.java:2099)	at java.awt.Component.dispatchEvent(Component.java:4482)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)	at java.awt.Container.dispatchEventImpl(Container.java:2085)	at java.awt.Window.dispatchEventImpl(Window.java:2478)	at java.awt.Component.dispatchEvent(Component.java:4482)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)	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.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)	at java.awt.EventQueue$2.run(EventQueue.java:617)	at java.awt.EventQueue$2.run(EventQueue.java:615)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)	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)