[JBoss JIRA] Created: (JBPORTAL-1198) Management Portlet does not Render in Portal 2.4 nor 2.6 when JAVA_HOME is set to JDK 6.0
by Matthew Martin (JIRA)
Management Portlet does not Render in Portal 2.4 nor 2.6 when JAVA_HOME is set to JDK 6.0
-----------------------------------------------------------------------------------------
Key: JBPORTAL-1198
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1198
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.4 Final
Environment: Windows XP SP2
Pentium D - 64Bit
JDK 6.0
JBoss AS 4.0.5
JBoss Portal 2.4 thru 2.6
Reporter: Matthew Martin
Steps to reproduce
1. JAVA_HOME environment variable is set to JDK 6.0 path
2. Deploy JBoss Portal 2.4 to JBOSS_HOME/server/default/deploy
3. Start JBoss AS 4.0.5
4. Login to JBoss Portal as admin/admin
5. Goto Admin tab - Management portlet does NOT display and renders following
error:
/WEB-INF/jsp/management/index.xhtml @41,58 rendered="#{!empty node.children}": Exception getting value of property children of base of type : org.jboss.portal.core.portlet.management.LazyPortalObjectTreeNode
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBPM-734) org.jbpm.util.XmlException: couldn't parse xml
by Ivan Garcia (JIRA)
org.jbpm.util.XmlException: couldn't parse xml
----------------------------------------------
Key: JBPM-734
URL: http://jira.jboss.com/jira/browse/JBPM-734
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.1.2
Reporter: Ivan Garcia
Assigned To: Tom Baeyens
This code
try{
String cfg = "<jbpm-configuration>";
cfg += "</jbpm-configuration>";
jbpmConfiguration = JbpmConfiguration.parseXmlString(cfg);
}catch(Exception e){
e.printStackTrace();
}
launch this exception,
org.jbpm.util.XmlException: couldn't parse xml
at org.jbpm.util.XmlUtil.parseXmlInputSource(XmlUtil.java:78)
at org.jbpm.util.XmlUtil.parseXmlResource(XmlUtil.java:60)
at org.jbpm.configuration.ObjectFactoryParser.parseElementsFromResource(ObjectFactoryParser.java:104)
at org.jbpm.JbpmConfiguration.parseObjectFactory(JbpmConfiguration.java:299)
at org.jbpm.JbpmConfiguration.parseXmlString(JbpmConfiguration.java:318)
Caused by: java.net.MalformedURLException
at java.net.URL.<init>(URL.java:601)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jbpm.util.XmlUtil.parseXmlInputSource(XmlUtil.java:76)
... 6 more
and i dont know why :-(
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBMESSAGING-622) JBossMessage.setJMSReplyTo() method does not allow to set up nulls
by Ilya Bochkov (JIRA)
JBossMessage.setJMSReplyTo() method does not allow to set up nulls
------------------------------------------------------------------
Key: JBMESSAGING-622
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-622
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.0.1.GA
Reporter: Ilya Bochkov
Assigned To: Ovidiu Feodorov
The method body checks if a destination is an instance of JBossDestination. If you pass null then an exception is thrown, though null is a valid value.
public void setJMSReplyTo(Destination replyTo) throws JMSException
{
if (!(replyTo instanceof JBossDestination))
{
throw new InvalidDestinationException("Replyto cannot be foreign");
}
this.replyToDestination = (JBossDestination)replyTo;
}
I've changed the method definition to:
public void setJMSReplyTo(Destination replyTo) throws JMSException
{
if(replyTo == null){
this.replyToDestination = null;
return;
}
if (!(replyTo instanceof JBossDestination))
{
throw new InvalidDestinationException("Replyto cannot be foreign");
}
this.replyToDestination = (JBossDestination)replyTo;
}
Please, if this is a correct fix incorporate it in future releases.
Thanks!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months