Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.InstantiationException on user defined class

809213Dec 27 2011 — edited Dec 27 2011
Hi all,
I'm getting the following exception.


Portable(java.io.IOException): An exception occurred instantiating a PortableObject user type from a POF stream: type-id=2001, class-name=com.inmdb.CacheRowDataExtractor, exception=
java.lang.InstantiationException: com.inmdb.CacheRowDataExtractor
at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:121)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
at com.tangosol.util.filter.ExtractorFilter.readExternal(ExtractorFilter.java:165)
at com.tangosol.util.filter.ComparisonFilter.readExternal(ComparisonFilter.java:227)
at com.tangosol.util.filter.LikeFilter.readExternal(LikeFilter.java:367)
at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
at com.tangosol.io.pof.PofBufferReader.readAsObjectArray(PofBufferReader.java:3337)
at com.tangosol.io.pof.PofBufferReader.readObjectArray(PofBufferReader.java:2169)
at com.tangosol.util.filter.ArrayFilter.readExternal(ArrayFilter.java:235)
at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.distributedCacheRequest.partialRequest.FilterRequest.read(FilterRequest.CDB:8)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$QueryRequest.read(DistributedCache.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:123)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:595)
at <process boundary>
at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:57)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
at com.tangosol.io.pof.PortableException.readExternal(PortableException.java:150)
at com.tangosol.io.pof.ThrowablePofSerializer.deserialize(ThrowablePofSerializer.java:58)
at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$QueryResponse.read(DistributedCache.CDB:33)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:123)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:595)


class looks like:-


public class CacheRowDataExtractor extends AbstractExtractor implements
PortableObject, Serializable {
// code

}


What could be the problem?


Thanks in advance,
Rony
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2012
Added on Dec 27 2011
4 comments
833 views