PicoContainer
  1. PicoContainer
  2. PICO-363

Container startup bug when a component throws a InvocationTargetException

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.9
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Environment:
      Any
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      When a container configured with a lifecycle reflection strategy is started and that a container component throws a InvocationTargetException during startup, the ReflectionLifecycleStrategy class can fails when trying to cast the InvocationTargetException cause to (Error). All the original stack trace is lost and make it impossible to know what has really happened and debug the real problem.

      See patch for the most clearest explanation possible : the code

        Issue Links

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Cédric Munger
          • Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: