Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-363

NPE when enhancing with Maven 1.0.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.0, 0.9.6, 0.9.7, 1.0.0
    • None
    • lib
    • None
    • Maven 1.0.2

    Description

      java.lang.NullPointerException
      at org.apache.openjpa.lib.util.MultiClassLoader.findResources(MultiClassLoader.java:241)
      at java.lang.ClassLoader.getResources(ClassLoader.java:851)
      at org.apache.openjpa.lib.meta.ClassMetaDataIterator.hasNext(ClassMetaDataIterator.java:148)
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:305)
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:283)
      at org.apache.openjpa.meta.AbstractCFMetaDataFactory.parse(AbstractCFMetaDataFactory.java:441)
      at kodo.jdo.JDOMetaDataFactory.load(JDOMetaDataFactory.java:116)
      at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:417)
      at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:275)
      at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:216)
      at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:3665)
      at org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java:89)
      at org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:169)
      at org.apache.tools.ant.Task.perform(Task.java:341)
      at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      at com.werken.werkz.Goal.fire(Goal.java:639)
      at com.werken.werkz.Goal.attain(Goal.java:575)
      at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
      at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
      at org.apache.maven.cli.App.doMain(App.java:488)
      at org.apache.maven.cli.App.main(App.java:1239)

      Attachments

        Activity

          People

            ssegu Srinivasa Segu
            ssegu Srinivasa Segu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: