Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 ClassCastException in AbstractDatabase_1$LayerInteraction

openMDX_v2
open
nobody
5
2012-07-22
2012-04-18
argonym
No

Using openCRX 2.9.1, I repeatedly keep getting the same ClassCastException.
It just gets logged and does not appear on the frontend.

2012-04-18 15:45:41 org.openmdx.portal.servlet.view.Grid getRows
WARNING: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
org.openmdx.base.exception.ServiceException: DefaultDomain.GENERIC
BasicException[0]
Class = org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction
Method = find
Line = 5410
ExceptionClass = org.openmdx.base.exception.ServiceException
ExceptionDomain = DefaultDomain
ExceptionCode = GENERIC
Description = java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
Timestamp = 2012-04-18T13:45:41.781Z
StackTrace:
at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.find(AbstractDatabase_1.java:5410)
at org.opencrx.kernel.layer.persistence.Indexed_1$LayerInteraction.find(Indexed_1.java:662)
at org.opencrx.kernel.layer.persistence.Audit_1$LayerInteraction.find(Audit_1.java:440)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.application.dataprovider.layer.model.Standard_1$LayerInteraction.find(Standard_1.java:324)
at org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.find(AccessControl_1.java:1348)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.find(OpenCrxKernel_1.java:226)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.application.dataprovider.layer.type.Strict_1$LayerInteraction.find(Strict_1.java:233)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:458)
at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:254)
at org.openmdx.base.rest.spi.AbstractRestInteraction.find(AbstractRestInteraction.java:165)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:458)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:648)
at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:464)
at org.openmdx.base.accessor.rest.AbstractContainer_1$BatchingList$BatchingIterator.load(AbstractContainer_1.java:2174)
at org.openmdx.base.accessor.rest.AbstractContainer_1$BatchingList$BatchingIterator.hasNext(AbstractContainer_1.java:2229)
at org.openmdx.base.accessor.rest.AbstractContainer_1$ChainingList$ChainingIterator.hasNext(AbstractContainer_1.java:3214)
at org.openmdx.base.accessor.rest.AbstractContainer_1$OrderedValues$ValueIterator.hasNext(AbstractContainer_1.java:1137)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.portal.servlet.view.Grid.getRows(Grid.java:833)
at org.openmdx.portal.servlet.control.ReferencePaneControl.paint(ReferencePaneControl.java:542)
at org.openmdx.portal.servlet.action.GridSelectReferenceAction.perform(GridSelectReferenceAction.java:109)
at org.openmdx.portal.servlet.ObjectInspectorServlet.handleRequest(ObjectInspectorServlet.java:1211)
at org.openmdx.portal.servlet.ObjectInspectorServlet.doPost(ObjectInspectorServlet.java:1328)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
BasicException[1]
Class = org.openmdx.application.dataprovider.layer.persistence.jdbc.DBOSlicedWithParentAndIdAsKey
Method = getObjectId
Line = 159
ExceptionClass = java.lang.ClassCastException
ExceptionDomain = DefaultDomain
ExceptionCode = GENERIC
Description = java.lang.Long cannot be cast to java.lang.String
StackTrace:
at org.openmdx.application.dataprovider.layer.persistence.jdbc.DBOSlicedWithParentAndIdAsKey.getObjectId(DBOSlicedWithParentAndIdAsKey.java:159)
at org.openmdx.application.dataprovider.layer.persistence.jdbc.DbObject.getResourceIdentifier(DbObject.java:427)
at org.openmdx.application.dataprovider.layer.persistence.jdbc.SlicedDbObject.getResourceIdentifier(SlicedDbObject.java:146)
at org.openmdx.application.dataprovider.layer.persistence.jdbc.DBOSlicedWithIdAsKey.getResourceIdentifier(DBOSlicedWithIdAsKey.java:256)
at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1.getObjects(AbstractDatabase_1.java:2292)
at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.find(AbstractDatabase_1.java:5204)
at org.opencrx.kernel.layer.persistence.Indexed_1$LayerInteraction.find(Indexed_1.java:662)
at org.opencrx.kernel.layer.persistence.Audit_1$LayerInteraction.find(Audit_1.java:440)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.application.dataprovider.layer.model.Standard_1$LayerInteraction.find(Standard_1.java:324)
at org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.find(AccessControl_1.java:1348)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.find(OpenCrxKernel_1.java:226)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.application.dataprovider.layer.type.Strict_1$LayerInteraction.find(Strict_1.java:233)
at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.find(Layer_1.java:412)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:458)
at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:254)
at org.openmdx.base.rest.spi.AbstractRestInteraction.find(AbstractRestInteraction.java:165)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:458)
at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:648)
at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:464)
at org.openmdx.base.accessor.rest.AbstractContainer_1$BatchingList$BatchingIterator.load(AbstractContainer_1.java:2174)
at org.openmdx.base.accessor.rest.AbstractContainer_1$BatchingList$BatchingIterator.hasNext(AbstractContainer_1.java:2229)
at org.openmdx.base.accessor.rest.AbstractContainer_1$ChainingList$ChainingIterator.hasNext(AbstractContainer_1.java:3214)
at org.openmdx.base.accessor.rest.AbstractContainer_1$OrderedValues$ValueIterator.hasNext(AbstractContainer_1.java:1137)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.base.collection.MarshallingSequentialList$MarshallingIterator.hasNext(MarshallingSequentialList.java:685)
at org.openmdx.portal.servlet.view.Grid.getRows(Grid.java:833)
at org.openmdx.portal.servlet.control.ReferencePaneControl.paint(ReferencePaneControl.java:542)
at org.openmdx.portal.servlet.action.GridSelectReferenceAction.perform(GridSelectReferenceAction.java:109)
at org.openmdx.portal.servlet.ObjectInspectorServlet.handleRequest(ObjectInspectorServlet.java:1211)
at org.openmdx.portal.servlet.ObjectInspectorServlet.doPost(ObjectInspectorServlet.java:1328)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Discussion


Anonymous


Cancel   Add attachments