java.lang.NullPointerException

Stack Overflow | bdecaf | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How would I use XStream to produce smaller output for simple maps?

    Stack Overflow | 5 years ago | bdecaf
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap()
    2. XStream Core
      XStream.aliasAttribute
      1. com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:128)
      2. com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113)
      3. com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:92)
      4. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getField(PureJavaReflectionProvider.java:181)
      5. com.thoughtworks.xstream.mapper.AttributeMapper.addAttributeFor(AttributeMapper.java:169)
      6. com.thoughtworks.xstream.XStream.useAttributeFor(XStream.java:1226)
      7. com.thoughtworks.xstream.XStream.aliasAttribute(XStream.java:1192)
      7 frames
    3. myproject
      XstreamSerializer.<init>
      1. myproject.XstreamSerializer.<init>(XstreamSerializer.java:43)
      1 frame