[JBoss JIRA] Created: (JBBUILD-329) replacement of java.util. classes create invalid classes
by St?le Pedersen (JIRA)
replacement of java.util. classes create invalid classes
--------------------------------------------------------
Key: JBBUILD-329
URL: http://jira.jboss.com/jira/browse/JBBUILD-329
Project: JBoss Build System
Issue Type: Bug
Components: JBossRetro
Affects Versions: JBossRetro-1.0.4.GA
Environment: GNU/Linux, 2.6.15. Jdk5.0, Jdk1.4
Reporter: St?le Pedersen
This problem was discovered when a test in jbossaop failed when using retro to run the tests in jdk1.4.
The case:
public class SuperPOJO<T extends java.util.AbstractList>
{
private T fooObject;
public void setFoo(T arg) { fooObject = arg;}
public T getFoo() {return fooObject;}
}
public class SubPOJO extends SuperPOJO<java.util.ArrayList>
{
private java.util.ArrayList bar;
public void setFoo(java.util.ArrayList a) { bar = a;}
public java.util.ArrayList getFoo(){ return bar;}
}
you can find the test under bridgemethods in jbossaop.
SubPOJO will after compilation have a method like:
public volatile AbstractList getFoo() { return getFoo() };
- note that volatile is what the decompiler names it. more specifically
its a bridge method created by the compiler.
SubPOJO will have the method:
public ArrayList getFoo() { return bar; }
after jbossretro have changed java.util.AbstractList to
edu.emory...AbstractList, the class will fail when its called.
--
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, 1 month
[JBoss JIRA] Created: (JBPORTAL-1371) issue with creating consumer from WSDL
by Prabhat Jha (JIRA)
issue with creating consumer from WSDL
--------------------------------------
Key: JBPORTAL-1371
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1371
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal WSRP
Affects Versions: 2.6.CR2
Reporter: Prabhat Jha
Assigned To: Chris Laprun
Two issues:
1. I was not able to create consumer using http://wsrp.bea.com:7001/producer/producer?WSDL. Validate throws error.
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal-wsrp]] Root cause
java.lang.NullPointerException
at org.jboss.portal.wsrp.admin.ui.ConsumerBean.getProducerInfo(ConsumerBean.java:174)
at org.jboss.portal.wsrp.admin.ui.ConsumerBean.isUseWSDL(ConsumerBean.java:65)
at sun.reflect.GeneratedMethodAccessor517.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
2. If for some reason creating a consumer fails (mine failed when I tried to create using bea's WSDL http://wsrp.bea.com:7001/producer/producer?WSDL), I can not see WSRP page correctly. Meaning when I click on WSRP, i see this message:
/WEB-INF/jsf/consumers/editConsumer.xhtml @55,45 test="#{consumer.useWSDL}" /WEB-INF/jsf/consumers/editConsumer.xhtml @55,45 test="#{consumer.useWSDL}": Exception getting value of property useWSDL of base of type : org.jboss.portal.wsrp.admin.ui.ConsumerBean
I was still hoping to see original GUI.
--
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, 1 month