[JBoss JIRA] Created: (JBPORTAL-2271) IAE when rendering a simple resource
by Chris Laprun (JIRA)
IAE when rendering a simple resource
------------------------------------
Key: JBPORTAL-2271
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2271
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.7.0 Final
Reporter: Chris Laprun
Assignee: Chris Laprun
Fix For: 2.7.1 Final
java.lang.IllegalArgumentException: Must pass a non null resource id
at org.jboss.portal.common.util.ParameterValidation.throwIllegalArgExceptionIfNull(ParameterValidation.java:68)
at org.jboss.portal.core.portlet.PortletRequestDecoder.decode(PortletRequestDecoder.java:189)
at org.jboss.portal.core.model.portal.PortalObjectCommandFactory.doMapping(PortalObjectCommandFactory.java:89)
at org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate.doMapping(CommandFactoryDelegate.java:87)
at org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService.doMapping(DelegatingCommandFactoryService.java:142)
at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:69)
at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBMETA-160) JCA16MetaData is bound to j2ee namespace instead of the javaee one
by Alexey Loubyansky (JIRA)
JCA16MetaData is bound to j2ee namespace instead of the javaee one
------------------------------------------------------------------
Key: JBMETA-160
URL: https://jira.jboss.org/jira/browse/JBMETA-160
Project: JBoss Metadata
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR12
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: 1.0.0.GA
-@XmlRootElement(name="connector", namespace=JavaEEMetaDataConstants.J2EE_NS)
+@XmlRootElement(name="connector", namespace=JavaEEMetaDataConstants.JAVAEE_NS)
@JBossXmlSchema(
- xmlns={@XmlNs(namespaceURI = JavaEEMetaDataConstants.J2EE_NS, prefix = "jee")},
+ xmlns={@XmlNs(namespaceURI = JavaEEMetaDataConstants.JAVAEE_NS, prefix = "jee")},
ignoreUnresolvedFieldOrClass=false,
- namespace=JavaEEMetaDataConstants.J2EE_NS,
+ namespace=JavaEEMetaDataConstants.JAVAEE_NS,
elementFormDefault=XmlNsForm.QUALIFIED,
normalizeSpace=true)
public class JCA16MetaData extends Connector16MetaData
The JBoss XSD needs to be fixed as well:
+++ src/main/resources/schema/jboss-ra_1_0.xsd (working copy)
@@ -2,13 +2,12 @@
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.jboss.org/schema/ra"
xmlns:ra="http://www.jboss.org/schema/ra" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:j2ee="http://java.sun.com/xml/ns/j2ee/"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
- <xsd:include schemaLocation="j2ee_1_4.xsd"/>
- <xs:element name="jboss-ra" type="ra:jbossRaType">
-
- </xs:element>
+ <xs:import namespace="http://java.sun.com/xml/ns/j2ee" schemaLocation="j2ee_1_4.xsd"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months