Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Reported by Jim Gentilesco
Here's the error message:
Exception in thread "main" java.lang.NullPointerException
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.createCollection(AbstractCollectionConverter.java:48)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.fromXML(CollectionConverter.java:31)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:121)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:114)
at Bug.main(Bug.java:15)
Here's the code:
import java.util.*;
import com.thoughtworks.xstream.*;
public class Bug
{
public static void main(String[] args)
}