Recently we have had authors reporting that they are getting an error whenever they use one particular CTD.
The following application error(s) occurred: An unexpected error occurred during the start of the taglib: null.
A bit of research shows that this CTD is unique because it is the only one we have that calls custom code from the “Content Editor –JSP URI:” field of the Extensibility section of the CTD’s General tab. We have other CTD’s that reference “/vgn-wcm-up/cif/defaultcif.jsp“ in this filed but they are all working as expected.
As my first troubleshooting step I decided to delete the custom app that we created for the problematic CTD to use and replace it with the same code that the other CTDs are accessing. To do this I downloaded the vgn-wcm-up.war file from the /opt/vignette/Content/7_6/deployedExtns/wars directory. I then renamed this war to match the name of our custom app and redeployed this base war. The first time I tried this I got a ClassDefNotFound error and remembered I needed to copy the following jars from the /opt/vignette/Content/7_6/lib/sdk and place them in the WEB-INF/lib directory of my war file: thirdparty-combined.jar, vgn-appsvcs-cce.jar, and vgn-appsvcs-cma.jar. After I did this the war deployed successfully. Unfortunately the tag lib error still occurs.
In the logs the error I see is:
<Jun 28, 2010 3:30:13 PM EDT> <Error> <HTTP> <BEA-101362> <[weblogic.servlet.internal.WebAppServletContext@2756933 - appName: 'map.war', name: 'map.war', context-path: '/map'] could not deserialize the request scoped attribute with name: "propertyPage_61a53a183829d5b81ddb8ae4dbcb6b3b"
java.lang.ClassCastException: cannot assign instance of
com.vignette.as.ui.common.property.commands.CommandMapping to field
com.vignette.as.ui.common.property.BasePropertySheet._cmds of type
com.vignette.as.ui.common.property.commands.CommandMapping in instance of
com.vignette.otm.descriptor.DescriptorObjectEditor
at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004)
at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1184)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1914)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
Truncated. see log file for complete stacktrace
>
<Jun 28, 2010 3:30:13 PM EDT> <Error> <HTTP> <BEA-101362> <[weblogic.servlet.internal.WebAppServletContext@2756933 - appName: 'map.war', name: 'map.war', context-path: '/map'] could not deserialize the request scoped attribute with name: "VgnSessionTransfer"
java.lang.ClassCastException: cannot assign instance of
com.vignette.as.ui.common.property.commands.CommandMapping to field
com.vignette.as.ui.common.property.BasePropertySheet._cmds of type
com.vignette.as.ui.common.property.commands.CommandMapping in instance of
com.vignette.otm.descriptor.DescriptorObjectEditor
at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004)
at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1184)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1914)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
Truncated. see log file for complete stacktrace
>
running Filter: /vgn-ext-links/HyperLink16.gif
running Filter: /vgn-ext-links/InsertImage16.gif
Since the base code is breaking as well, I’m not sure where to start trouble shooting the errors reported.
The weird thing is that we only recently encountered this issue but we don’t know of any changes what we made before this issue started that could have caused it. At this point I am stumped and could really use some help. Thanks.