[jboss-jira] [JBoss JIRA] Created: (JBRULES-3204) PackageBuilder throws NPE for Resource created from missing file

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Tue Sep 6 05:57:26 EDT 2011


PackageBuilder throws NPE for Resource created from missing file
----------------------------------------------------------------

                 Key: JBRULES-3204
                 URL: https://issues.jboss.org/browse/JBRULES-3204
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.3.0.Beta1
            Reporter: Wolfgang Laun
            Assignee: Edson Tirelli
             Fix For: 5.3.0.CR1


Passing a missing file to the PackageBuilder causes an NPE:

  builder.add(ResourceFactory.newClassPathResource("no such file"), ResourceType.DRF);

An NPE is also thrown for ResourceType.XSD

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list