Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8006

creating build.xml status file fails for projects containing jdepend due to a null pointer

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • hudson 1.383, jdk 1.6.21, windows xp

      When the jdepend plugin is used, creating the build.xml file in each builds directory fails due to a null pointer.
      This is caused by a small bug in the xstream implementation, when a class contains a Stack or Vector object, the unused null elements in the object causes a null pointer that breaks creation of the xml file.

      I have written a test to check the error and fixed the method, I will attach the patch.

          [JENKINS-8006] creating build.xml status file fails for projects containing jdepend due to a null pointer

          Alex Lehmann created issue -
          Alex Lehmann made changes -
          Attachment New: hudson.diff [ 19937 ]
          Alex Lehmann made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Alex Lehmann made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138109 ] New: JNJira + In-Review [ 187849 ]

            mindless Alan Harder
            alexlehm Alex Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: