com.tc.exception.TCNonPortableObjectError

******************************************************************************* Attempt to share an instance of a non-portable class by passing it as an argument to a method of a logically-managed class. This unshareable class has not been included for sharing in the configuration. For more information on this issue, please visit our Troubleshooting Guide at: http://www.terracotta.org/kit/reflector?kitID=default&pageID=npoe Thread : pool-1-thread-1 JVM ID : VM(1) Logically-managed class name: org.terracotta.collections.ConcurrentBlockingQueue Logical method name : put(Object) Non-included class : com.google.chrome.zahra.data.structs.WorkPacket Under most circumstances, you should only be adding classes for your application. If you are adding classes for frameworks or code not written by you, then you should consider finding a Terracotta Integration Module (TIM) that matches the framework you are using. As an example, if the non-portable class listed below is net.sf.ehcache.CacheManager, you should consider using the ehcache TIM. It is also possible that some or all of the classes above are truly non-portable, the solution is then to mark the referring field as transient. For more information on non-portable classes see the Troubleshooting Guide. Action to take: 1) Reconfigure to include the unshareable classes * edit your tc-config.xml file * locate the <dso> element * add this snippet inside the <dso> element <instrumented-classes> <include> <class-expression>com.google.chrome.zahra.data.structs.WorkPacket</class-expression> </include> </instrumented-classes> * if there is already an <instrumented-classes> element present, simply add the new includes inside it *******************************************************************************

Solutions on the web10

  • via Terracotta by arthaha, 1 year ago
    only be adding classes for your application. If you are adding classes for frameworks or code not written by you, then you should consider finding a Terracotta Integration Module (TIM) that matches the framework you are using. As an example, if the
  • via Terracotta by dlukow, 1 year ago
    application. If you are adding classes for frameworks or code not written by you, then you should consider finding a Terracotta Integration Module (TIM) that matches the framework you are using. As an example, if the non-portable class listed below is
  • via Terracotta by cihan, 1 year ago
    only be adding classes for your application. If you are adding classes for frameworks or code not written by you, then you should consider finding a Terracotta Integration Module (TIM) that matches the framework you are using. As an example, if the
  • Stack trace

    • com.tc.exception.TCNonPortableObjectError: ******************************************************************************* Attempt to share an instance of a non-portable class by passing it as an argument to a method of a logically-managed class. This unshareable class has not been included for sharing in the configuration. For more information on this issue, please visit our Troubleshooting Guide at: http://www.terracotta.org/kit/reflector?kitID=default&pageID=npoe Thread : pool-1-thread-1 JVM ID : VM(1) Logically-managed class name: org.terracotta.collections.ConcurrentBlockingQueue Logical method name : put(Object) Non-included class : com.google.chrome.zahra.data.structs.WorkPacket Under most circumstances, you should only be adding classes for your application. If you are adding classes for frameworks or code not written by you, then you should consider finding a Terracotta Integration Module (TIM) that matches the framework you are using. As an example, if the non-portable class listed below is net.sf.ehcache.CacheManager, you should consider using the ehcache TIM. It is also possible that some or all of the classes above are truly non-portable, the solution is then to mark the referring field as transient. For more information on non-portable classes see the Troubleshooting Guide. Action to take: 1) Reconfigure to include the unshareable classes * edit your tc-config.xml file * locate the <dso> element * add this snippet inside the <dso> element <instrumented-classes> <include> <class-expression>com.google.chrome.zahra.data.structs.WorkPacket</class-expression> </include> </instrumented-classes> * if there is already an <instrumented-classes> element present, simply add the new includes inside it ******************************************************************************* at com.tc.object.ClientObjectManagerImpl.throwNonPortableException(ClientObjectManagerImpl.java:792) at com.tc.object.ClientObjectManagerImpl.checkPortabilityOfLogicalAction(ClientObjectManagerImpl.java:765) at com.tc.object.tx.ClientTransactionManagerImpl.logicalInvoke(ClientTransactionManagerImpl.java:507) at com.tc.object.TCObjectLogical.logicalInvoke(TCObjectLogical.java:17) at com.tc.object.bytecode.ManagerImpl.logicalInvoke(ManagerImpl.java:298) at com.tc.object.bytecode.ManagerImpl.logicalInvokeWithTransaction(ManagerImpl.java:313) at com.tc.object.bytecode.ManagerUtil.logicalInvokeWithTransaction(ManagerUtil.java:338) at org.terracotta.collections.ConcurrentBlockingQueue.offer(ConcurrentBlockingQueue.java:221) at java.util.AbstractQueue.add(Unknown Source) at com.google.chrome.zahra.WorkPacketManager.addPacket(WorkPacketManager.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.xml.internal.ws.api.server.InstanceResolver$1.invoke(Unknown Source) at com.sun.xml.internal.ws.server.InvokerTube$2.invoke(Unknown Source) at com.sun.xml.internal.ws.server.sei.EndpointMethodHandler.invoke(Unknown Source) at com.sun.xml.internal.ws.server.sei.SEIInvokerTube.processRequest(Unknown Source) at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source) at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source) at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source) at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source) at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(Unknown Source) at com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(Unknown Source) at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(Unknown Source) at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(Unknown Source) at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(Unknown Source) at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source) at sun.net.httpserver.AuthFilter.doFilter(Unknown Source) at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source) at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Unknown Source) at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source) at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.