Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 39670 invoked from network); 14 Dec 2010 16:07:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 16:07:28 -0000 Received: (qmail 82787 invoked by uid 500); 14 Dec 2010 16:07:27 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 82522 invoked by uid 500); 14 Dec 2010 16:07:25 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 82513 invoked by uid 99); 14 Dec 2010 16:07:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:07:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 16:07:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBEG70wL020957 for ; Tue, 14 Dec 2010 16:07:01 GMT Message-ID: <9585152.115201292342820798.JavaMail.jira@thor> Date: Tue, 14 Dec 2010 11:07:00 -0500 (EST) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-2731) NPE while scanning sources with QDox In-Reply-To: <22262246.114981292341980665.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved FELIX-2731. ------------------------------------- Resolution: Fixed It seems that the old/deprecated API turns null for the parent while the new api works. Just to be sure I've added a null test for the old API and then use the new one. Maybe we could just use the new one. Fixed in revision 1049139. > NPE while scanning sources with QDox > ------------------------------------ > > Key: FELIX-2731 > URL: https://issues.apache.org/jira/browse/FELIX-2731 > Project: Felix > Issue Type: Bug > Components: Maven SCR Plugin > Affects Versions: maven-scr-plugin-1.6.0, scr generator 1.0.0 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.6.2, scr generator 1.0.2 > > > ava.lang.NullPointerException > at org.apache.felix.scrplugin.tags.qdox.QDoxJavaTag.getSourceLocation(QDoxJavaTag.java:74) > at org.apache.felix.scrplugin.om.AbstractObject.logWarn(AbstractObject.java:37) > at org.apache.felix.scrplugin.om.Reference.validateMethod(Reference.java:259) > at org.apache.felix.scrplugin.om.Reference.validate(Reference.java:214) > at org.apache.felix.scrplugin.om.Component.validate(Component.java:345) > at org.apache.felix.scrplugin.SCRDescriptorGenerator.execute(SCRDescriptorGenerator.java:334) > at org.apache.felix.scrplugin.mojo.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:184) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:34 > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:32 > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:13 > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.