Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1174

exception handling for itemUpdate hides the stack trace, which obstructs troubleshooting efforts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8.0, 1.8.1, 1.8.2
    • Fix Version/s: 3.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      In troubleshooting an NPE that keeps cropping up whenever I attempt to run an itemupdate, I was a bit frustrated trying to locate the full stack trace for the error. It wasn't visible in dspace.log or catalina.out. Tim Donohue found that the problem was with the exception handling in DSpace/dspace-api/src/main/java/org/dspace/app/itemupdate/ItemUpdate.java. I will attach a patch file by tomorrow, as soon as I confirm it is working.

        Attachments

          Activity

            People

            Assignee:
            hardyoyo Hardy Pottinger
            Reporter:
            hardyoyo Hardy Pottinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified