CDV ❯ Error message prints incorrect value
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
hhuynh
-
Reporter: tgautier
-
May 14, 2008
-
0
-
Watchers: 0
-
August 04, 2008
-
July 16, 2008
Attachments
Description
See error message - shouldn’t have “null” in the message:
Exception in thread “main” com.tc.exception.TCNonPortableObjectError: ******************************************************************************* Attempt to share an instance of a non-portable class referenced by a portable class. This unshareable class is a subclass of a JVM- or host machine-specific resource. Please either modify the class hierarchy or ensure that instances of this class don’t enter the shared object graph.
For more information on this issue, please visit our Troubleshooting Guide at: http://terracotta.org/kit/troubleshooting
Referring class : javax.swing.text.GapContent Referring field : javax.swing.text.GapContent.search Thread : main JVM ID : VM(1) Unshareable superclass names: java.lang.ref.WeakReference
Action to take:
1) Change your application code * Ensure that no instances of javax.swing.text.GapContent$MarkData nor any other subclass instances of the classes: java.lang.ref.WeakReference are added to any shared object graph
- OR -
2) Mark the offending field as transient (and thus not shared)
* edit your tc-config.xml file
* locate the
<transient-fields>
<field-name>null</field-name>
</transient-fields>
* if there is already a
*******************************************************************************
Fixed on rev-9246 in trunk