This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 214152 - org.apache.maven.artifact.InvalidArtifactRTException: For artifact {null:null:null:jar}: The groupId cannot be empty.
Summary: org.apache.maven.artifact.InvalidArtifactRTException: For artifact {null:null...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 19:44 UTC by Exceptions Reporter
Modified: 2012-06-16 06:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189461


Attachments
stacktrace (3.12 KB, text/plain)
2012-06-13 19:44 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-13 19:44:24 UTC
This bug was originally marked as duplicate of bug 164998, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
GUEST: Creating simple example app within NetBeans




Stacktrace: 
org.apache.maven.artifact.InvalidArtifactRTException: For artifact {null:null:null:jar}: The groupId cannot be empty.
   at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:130)
   at org.apache.maven.artifact.DefaultArtifact.<init>(DefaultArtifact.java:123)
   at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:157)
   at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:117)
   at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:111)
   at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:39)
Comment 1 Exceptions Reporter 2012-06-13 19:44:29 UTC
Created attachment 120798 [details]
stacktrace
Comment 2 Milos Kleint 2012-06-15 11:56:14 UTC
http://hg.netbeans.org/core-main/rev/a0650517a261

while the project loading was catching runtime exceptions like this, the dependency download task was not. Catching now, but not exactly sure how to reproduce locally though.
Comment 3 Jesse Glick 2012-06-15 16:10:55 UTC
7.3 I think you mean, not Next (7.4 or whatever).
Comment 4 Quality Engineering 2012-06-16 06:06:26 UTC
Integrated into 'main-golden', will be available in build *201206160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a0650517a261
User: Milos Kleint <mkleint@netbeans.org>
Log: #214152 when resolving dependencies, need to catch InvalidArtifactRTException and other runtime exceptions