java.io.NotSerializableException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I am running Jenkins on Websphere Application Server 8.5.5 and trying to deploy my application on the same server. It is a local one. I have installed the websphere deployer plugin. But during deployment I am facing an issue. While installing artifact, it is giving NotSerializableException for ConfigServiceServerProxy class. I am not able to resolve this issue since this class is getting added in preferences which is later checked against Serializable or not. [7/8/16 17:54:43:975 IST] 00000092 SystemErr R java.io.NotSerializableException: com.ibm.ws.management.configservice.ConfigServiceServerProxy [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1203) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.util.Hashtable.writeObject(Hashtable.java:971) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.lang.reflect.Method.invoke(Method.java:618) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1060) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1515) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1197) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1397) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1193) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.interop.JMXObjectOutputStream.jmxWriteObject(JMXObjectOutputStream.java:116) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.GenericSerializer.marshall(GenericSerializer.java:134) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:107) [7/8/16 17:54:43:976 IST] 00000092 SystemErr R at org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:307) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.Body.marshall(Body.java:145) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.Envelope.marshall(Envelope.java:195) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:387) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.apache.soap.rpc.Call.WASinvoke(Call.java:487) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient$8.run(SOAPConnectorClient.java:847) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplateOnce(SOAPConnectorClient.java:840) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:685) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invokeTemplate(SOAPConnectorClient.java:675) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:661) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnectorClient.invoke(SOAPConnectorClient.java:483) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.sun.proxy.$Proxy89.invoke(Unknown Source) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.ws.management.AdminClientImpl.invoke(AdminClientImpl.java:224) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.websphere.management.application.AppManagementProxy.proxyInvokeNoRet(AppManagementProxy.java:167) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at com.ibm.websphere.management.application.AppManagementProxy.installApplication(AppManagementProxy.java:510) [7/8/16 17:54:43:977 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.installArtifact(WebSphereDeploymentService.java:237) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.deployArtifact(WebSphereDeployerPlugin.java:227) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:201) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.Run.execute(Run.java:1745) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.ResourceController.execute(ResourceController.java:98) [7/8/16 17:54:43:978 IST] 00000092 SystemErr R at hudson.model.Executor.run(Executor.java:410) Please guide me in this because there is a lot of time getting spent here. Thanks, Shilpa
    via by Shilpa N,
  • GSON not serializable in JSF managed bean
    via Stack Overflow by kinkajou
    ,
  • How to post a JSON object to an URL?
    via Stack Overflow by user2655318
    ,
  • Serialization exception
    via by barreau...@yahoo.fr,
    • java.io.NotSerializableException: com.ibm.ws.management.configservice.ConfigServiceServerProxy at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1203) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364) at java.util.Hashtable.writeObject(Hashtable.java:971) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:618) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1060) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1515) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1451) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1197) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1397) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1193) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:364) at com.ibm.ws.management.connector.interop.JMXObjectOutputStream.jmxWriteObject(JMXObjectOutputStream.java:116) at com.ibm.ws.management.connector.soap.GenericSerializer.marshall(GenericSerializer.java:134) at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:107) at org.apache.soap.rpc.RPCMessage.serializeParams(RPCMessage.java:333)

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    11 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    osvzsosvzs
    6 times, last one,
    Indri YunitaIndri Yunita
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    84 more bugmates