XStream
  1. XStream
  2. XSTR-219

problem when using custom security manager

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      jdk 1.4 windows

      Description

      I was using xstream without any problem unless I created a custom
      security manager. When I run my program with security manager
      I get the following error in "fromXML()" call.
      When I disable security manager everything works fine.
      What is the problem?

      java.lang.NullPointerException
      at com.thoughtworks.xstream.core.TreeUnmarshaller.addInformationTo(TreeUnmarshaller.java:53)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
      at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:549)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:537)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:505)
      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:496)

        People

        • Assignee:
          Unassigned
          Reporter:
          suat ugurlu
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: