Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-1820

Setting HDScanner's scanEnabled Attribute to True via XML Results In NPE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.0.0 ER6
    • Fix Version/s: 5.1.0 GA
    • Component/s: EAP
    • Labels:
      None
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/JBAS-7528

      Setting HDScanner's scanEnabled attribute to true via XML caused an null-pointer exception because the setter logic relied on the fact that the class's create method had already been called. To fix this issues, a test case for the HDScanner has been added. As a result, users will no longer encounter this null-pointer exception.
      Show
      https://issues.jboss.org/browse/JBAS-7528 Setting HDScanner's scanEnabled attribute to true via XML caused an null-pointer exception because the setter logic relied on the fact that the class's create method had already been called. To fix this issues, a test case for the HDScanner has been added. As a result, users will no longer encounter this null-pointer exception.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      See: https://jira.jboss.org/jira/browse/JBAS-7528

      If the <property name="scanEnabled">true</property> is omitted, or is set to false, the exception is not raised. If it is set to true, this exception is raised:

      13:09:24,038 ERROR [AbstractKernelController] Error installing to Configured: name=HDScanner state=Instantiated
      java.lang.RuntimeException: Error configuring property: scanEnabled for HDScanner

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ldimaggio Len DiMaggio
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: