You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Vesa Varimo (JIRA)" <ji...@apache.org> on 2007/07/25 15:16:31 UTC

[jira] Created: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
---------------------------------------------------------------------------------------------

                 Key: AXIS2-3015
                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.3
         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
            Reporter: Vesa Varimo



I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
}
}



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Vesa Varimo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vesa Varimo updated AXIS2-3015:
-------------------------------

    Description: 

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
propertyList.add(property);
}
}

 

  was:

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
}
}







> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>         Attachments: LogResponseImpl.java
>
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> propertyList.add(property);
> }
> }
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Vesa Varimo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vesa Varimo updated AXIS2-3015:
-------------------------------

    Description: 

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
}
}






  was:

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
}
}




> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Vesa Varimo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vesa Varimo updated AXIS2-3015:
-------------------------------

    Attachment: LogResponseImpl.java

> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>         Attachments: LogResponseImpl.java
>
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-3015.
--------------------------------------

    Resolution: Won't Fix

You class is not a valid Java bean , so what we are doing is correct.

Thanks
Deepal

> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>         Attachments: LogResponseImpl.java
>
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> propertyList.add(property);
> }
> }
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Vesa Varimo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515293 ] 

Vesa Varimo commented on AXIS2-3015:
------------------------------------

Same bug may exist in the next block where the adb starts to investigate super class..

while (!"java.lang.Object".equals(supClass.getQualifiedName())) {
	properties = supClass.getDeclaredProperties();

				for (int i = 0; i < properties.length; i++) {
					JProperty property = properties[i];
					propertyList.add(property);
					}
				}
				supClass = supClass.getSuperclass();
			}

> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>         Attachments: LogResponseImpl.java
>
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> propertyList.add(property);
> }
> }
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties.

Posted by "Vesa Varimo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vesa Varimo updated AXIS2-3015:
-------------------------------

    Description: 

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
propertyList.add(property);
}
}

 

  was:

I have simple domain class generated with Hyperjaxb2 0.6.2.
The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:

	<xs:complexType name="logResponse">
		<xs:sequence>
			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
		</xs:sequence>
	</xs:complexType>

Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value.
ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".

I fixed this issue by adding following condition to BeanUtil.java line 110:

for (int i = 0; i < properties.length; i++) {
JProperty property = properties[i];
if (property.getType().getQualifiedName().indexOf("Class") == -1) {
propertyList.add(property);
}
}

 


> ERROR can not find read method for :  defaultAssertionStatus. Bug with Class-type properties.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3015
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3015
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.3
>         Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. 
>            Reporter: Vesa Varimo
>         Attachments: LogResponseImpl.java
>
>
> I have simple domain class generated with Hyperjaxb2 0.6.2.
> The class is called LogResponseImpl (included as an attachment) and the XSD for it is following:
> 	<xs:complexType name="logResponse">
> 		<xs:sequence>
> 			<xs:element name="succeeded" type="xs:boolean" nillable="true" />
> 		</xs:sequence>
> 	</xs:complexType>
> Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value.
> ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for :  defaultAssertionStatus".
> I fixed this issue by adding following condition to BeanUtil.java line 110:
> for (int i = 0; i < properties.length; i++) {
> JProperty property = properties[i];
> if (property.getType().getQualifiedName().indexOf("Class") == -1) {
> propertyList.add(property);
> }
> }
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org