IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 1 reply
  • Latest Post - ‏2013-10-18T11:27:56Z by Dev_Dhoot
Dev_Dhoot
Dev_Dhoot
42 Posts

Pinned topic com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.throwRuntimeException

‏2013-10-18T09:26:15Z |

Hi,

 

I am using WXS 8.6.03 on WebSphere Portal 8.

 

I am getting the following exception while logging to the Custom Portal

 

==

[10/18/13 4:12:49:775 CDT] 00000039 XDFField      E   Unexpected failure getting value from field bundleFiles(org.eclipse.osgi.baseadaptor.BaseData).Error accessing reflection field get method for bundleFiles.  Can not set org.eclipse.osgi.internal.baseadaptor.ArrayMap field org.eclipse.osgi.baseadaptor.BaseData.bundleFiles to org.eclipse.osgi.baseadaptor.BaseData
[10/18/13 4:12:49:782 CDT] 00000039 LogSequenceIm W   CWOBJ0006W: An exception occurred: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.IOException: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: Error accessing reflection field get method for bundleFiles.  Can not set org.eclipse.osgi.internal.baseadaptor.ArrayMap field org.eclipse.osgi.baseadaptor.BaseData.bundleFiles to org.eclipse.osgi.baseadaptor.BaseData
        at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.throwRuntimeException(XDFSerializerPlugin.java:285)
        at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.serializeDataObject(XDFSerializerPlugin.java:264)
        at com.ibm.ws.objectgrid.plugins.io.dataobject.values.ValueDataImpl.autoSerialize(ValueDataImpl.java:258)
        at com.ibm.ws.objectgrid.plugins.io.dataobject.values.ValueDataImpl.isHeap(ValueDataImpl.java:150)
        at com.ibm.ws.objectgrid.DiffMapValue.getCurrentBytesSerialized(DiffMapValue.java:1196)
        at com.ibm.ws.objectgrid.DiffMapValue.getCurrentBytes(DiffMapValue.java:1099)
        at com.ibm.ws.objectgrid.map.LogSequenceImpl.serializeDiffMapValues(LogSequenceImpl.java:1523)
        at com.ibm.ws.objectgrid.transport.message.protobuf.XsProtobufClientReadWriteShardReqCtx.deflateLogSequenceElementToProtobuf(XsProtobufClientReadWriteShardReqCtx.java:217)
        at com.ibm.ws.objectgrid.transport.message.protobuf.XsProtobufClientReadWriteShardReqCtx.deflateLogSequenceToProtobuf(XsProtobufClientReadWriteShardReqCtx.java:203)
        at com.ibm.ws.objectgrid.transport.message.protobuf.XsProtobufClientReadWriteShardReqCtx.deflateToProtobuf(XsProtobufClientReadWriteShardReqCtx.java:174)
        at com.ibm.ws.objectgrid.transport.message.protobuf.XsProtobufClientReadWriteShardReqCtx.<init>(XsProtobufClientReadWriteShardReqCtx.java:108)
        at com.ibm.ws.objectgrid.transport.message.XsClientMessageContextFactory.createProtobufReadWriteRequestContext(XsClientMessageContextFactory.java:77)
        at com.ibm.ws.objectgrid.transport.message.XsClientMessageFactory.createRWContainerMessage(XsClientMessageFactory.java:56)
        at com.ibm.ws.objectgrid.client.XIOClientCoreMessageHandler.convertRequestToMessageInfo(XIOClientCoreMessageHandler.java:960)
        at com.ibm.ws.objectgrid.client.XIOClientCoreMessageHandler.sendMessage(XIOClientCoreMessageHandler.java:265)
        at com.ibm.ws.objectgrid.client.CommonClientCoreMessageHandler.sendReadWriteRequest(CommonClientCoreMessageHandler.java:443)
        at com.ibm.ws.objectgrid.client.RemoteTransactionCallbackImpl.processReadWriteAsyncRequest(RemoteTransactionCallbackImpl.java:1637)
        at com.ibm.ws.objectgrid.client.RemoteTransactionCallbackImpl.processReadWriteRequestAndResponse(RemoteTransactionCallbackImpl.java:1466)
        at com.ibm.ws.objectgrid.client.RemoteTransactionCallbackImpl.commit(RemoteTransactionCallbackImpl.java:332)
        at com.ibm.ws.objectgrid.SessionImpl.commit(SessionImpl.java:2035)
        at com.ibm.ws.xs.sessionmanager.SessionReplicationManager.run(SessionReplicationManager.java:1023)
        at java.util.Timer$TimerImpl.run(Timer.java:296)
Caused by: java.io.IOException: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: Error accessing reflection field get method for bundleFiles.  Can not set org.eclipse.osgi.internal.baseadaptor.ArrayMap field org.eclipse.osgi.baseadaptor.BaseData.bundleFiles to org.eclipse.osgi.baseadaptor.BaseData
        at com.ibm.ws.objectgrid.xdf.XDFField.getFieldValue(XDFField.java:454)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:143)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.collections.HashMapSerializer.serializeObject(HashMapSerializer.java:128)
        at com.ibm.ws.objectgrid.xdf.serializers.collections.CheckCollectionTypeSerializer.serializeObject(CheckCollectionTypeSerializer.java:60)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.array.ArraySerializer.serializeObject(ArraySerializer.java:127)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.serializers.GenericClassSerializer.serializeObject(GenericClassSerializer.java:155)
        at com.ibm.ws.objectgrid.xdf.serializers.CheckTypeSerializer.serializeObject(CheckTypeSerializer.java:73)
        at com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.serializeDataObject(XDFSerializerPlugin.java:234)
        ... 20 more
Caused by: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: Error accessing reflection field get method for bundleFiles.  Can not set org.eclipse.osgi.internal.baseadaptor.ArrayMap field org.eclipse.osgi.baseadaptor.BaseData.bundleFiles to org.eclipse.osgi.baseadaptor.BaseData
        at com.ibm.ws.objectgrid.xdf.JavaFieldAccess.get(JavaFieldAccess.java:69)
        at com.ibm.ws.objectgrid.xdf.XDFField.getFieldValue(XDFField.java:446)
        ... 141 more
Caused by: java.lang.IllegalArgumentException: Can not set org.eclipse.osgi.internal.baseadaptor.ArrayMap field org.eclipse.osgi.baseadaptor.BaseData.bundleFiles to org.eclipse.osgi.baseadaptor.BaseData
        at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:158)
        at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:162)
        at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:49)
        at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:30)
        at java.lang.reflect.Field.get(Field.java:371)
        at com.ibm.ws.objectgrid.xdf.JavaFieldAccess.get(JavaFieldAccess.java:61)
        ... 142 more
===

 

Can anyone help me understand the reason behind these exceptions?

Regards,

Devendra

  • Dev_Dhoot
    Dev_Dhoot
    42 Posts

    Re: com.ibm.ws.objectgrid.xdf.XDFSerializerPlugin.throwRuntimeException

    ‏2013-10-18T11:27:56Z  

    Adding some details:

     

    I am implementing extreme scale at the application level.

    I am using Base Theme-- Portal 8 theme(WXS disabled) for logging into the Virtual Portal using default Portal logging page  which on logging redirects to Home page which has a custom theme(WXS enabled).

    I would also like to understand, whether this is related to the exception above. Also,if I  enable WXS on the base Theme (Portal 8) would this cause any side-effect to the base portal where Default portlets are installed and do not have WXS enabled at the application level.

     

    --Devendra