[
https://jira.jboss.org/browse/GTNPC-38?page=com.atlassian.jira.plugin.sys...
]
Chris Laprun resolved GTNPC-38.
-------------------------------
Fix Version/s: 2.2.0-CR02
Resolution: Done
test failure with .PortletTestEverythingTestCase
------------------------------------------------
Key: GTNPC-38
URL:
https://jira.jboss.org/browse/GTNPC-38
Project: GateIn Portlet Container
Issue Type: Bug
Affects Versions: 2.2.0-CR01
Reporter: Prabhat Jha
Fix For: 2.2.0-CR02
org.gatein.pc.mc.metadata.PortletTestEverythingTestCase.test01?parser=annotation
org.gatein.pc.mc.metadata.PortletTestEverythingTestCase.test021?parser=annotation
org.gatein.pc.mc.metadata.PortletTestEverythingTestCase.test02?parser=annotation
aused by: java.lang.RuntimeException: QName
{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-mode error setting
characters portletMode with value VIEW to
org.gatein.pc.portlet.impl.metadata.portlet.PortletModeMetaData@889074013
property=portletMode
at org.jboss.xb.builder.runtime.ValueHandler.setValue(ValueHandler.java:150)
at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:1136)
at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:236)
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:373)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
... 20 more
Caused by: java.lang.IllegalArgumentException: Wrong arguments. setPortletMode for target
org.gatein.pc.portlet.impl.metadata.portlet.PortletModeMetaData@6e20f237
expected=[org.gatein.pc.api.Mode] actual=[java.lang.String]
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:69)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.beans.info.plugins.DefaultPropertyInfo.set(DefaultPropertyInfo.java:143)
at org.jboss.xb.spi.AbstractBeanAdapter.set(AbstractBeanAdapter.java:95)
at org.jboss.xb.builder.runtime.ValueHandler.setValue(ValueHandler.java:146)
... 35 more
Page generated: Oct 25, 2010 12:02:53 PMHudson ver. 1.366 (private-10/19/2010
02:19-vjuranek)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira