Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      Need to provide better error reporting - hints in the exception messages, info on the configuration (what resources and providers were loaded), exact version of Jersey used (perhaps in each error message), consider exposing MBean(s), provide guidelines on more descriptive error reporting (instead of logging the exception message, people should try to provide a more descriptive message relevant to the place in the code where the exception occurred (hints on what may have gone wrong) along with the original message). This feature needs to be split up into individual tasks that will be scheduled for milestones.

        Issue Links

          Activity

          Hide
          arungupta added a comment -

          The following GET method:

          @GET
          @Produces("application/xml")
          public List<String> getList()

          { return list; }

          reports only the following error:

          [#|2012-10-26T13:52:47.839-0700|INFO|44.0|org.glassfish.jersey.server.ApplicationHandler|_ThreadID=83;_ThreadName=http-listener-1(2);_TimeMillis=1351284767839;_LevelValue=800;|[failed to localize] init.msg(Jersey: 2.0-m09 2012-10-15 12:52:42)|#]

          And a detailed error message stating that Jersey could not find a suitable message body worker was missing.

          Show
          arungupta added a comment - The following GET method: @GET @Produces("application/xml") public List<String> getList() { return list; } reports only the following error: [#|2012-10-26T13:52:47.839-0700|INFO|44.0|org.glassfish.jersey.server.ApplicationHandler|_ThreadID=83;_ThreadName=http-listener-1(2);_TimeMillis=1351284767839;_LevelValue=800;| [failed to localize] init.msg(Jersey: 2.0-m09 2012-10-15 12:52:42)|#] And a detailed error message stating that Jersey could not find a suitable message body worker was missing.

            People

            • Assignee:
              Unassigned
              Reporter:
              Martin Matula
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days, 6 hours Original Estimate - 2 days, 6 hours
                2d 6h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 2 days, 21 hours
                1w 2d 21h