Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.2
-
Fix Version/s: 1.3
-
Component/s: Annotations
-
Labels:None
-
JDK version and platform:JDK 1.6 for Windows
Description
Assume I have the following object:
public class Untyped {
@XStreamImplicit
private List list = new ArrayList();
}
Calling
Annotations.configureAliases(xs, Untyped.class);
leads to a NullPointerException because XStream cannot find a generic type of the list.
Fixed in head revision.