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 253787 - Create NetBeans Module archetype
Summary: Create NetBeans Module archetype
Status: RESOLVED DUPLICATE of bug 253654
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-25 21:31 UTC by svkirans
Modified: 2015-08-03 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of failure message. (200.80 KB, image/jpeg)
2015-07-25 21:31 UTC, svkirans
Details
logs folder. (44.08 KB, text/plain)
2015-07-25 21:35 UTC, svkirans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description svkirans 2015-07-25 21:31:01 UTC
Created attachment 154890 [details]
Screen shot of failure message.

Link: http://services.netbeans.org/synergy/client/app/#/case/3838/suite/1917

When creating a maven Netbeans module, the creation is failing. Attached is the screen shot of the message displayed during the failure. 

How ever when I close the displayed failure message and continue it is working.
Comment 1 svkirans 2015-07-25 21:35:53 UTC
Created attachment 154891 [details]
logs folder.

Attached the logs folder.
Comment 2 rashmidixit 2015-07-30 04:19:23 UTC
I checked on using OSGi modules while creating the project. When the project gets created, NB says that some resources arent found. It asks to resolve the problems

Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.codehaus.mojo:nbm-maven-plugin:3.13 or one of its dependencies could not be resolved: The repository system is offline but the artifact org.codehaus.mojo:nbm-maven-plugin:jar:3.13 is not available in the local repository. @ 
[ERROR] Unknown packaging: nbm @ line 7, column 16


When you click Resolve, NB crashes. Not sure if I need to log another bug for this issue.

java.lang.NullPointerException
	at org.netbeans.modules.maven.execute.AbstractOutputHandler.isProtectedWait(AbstractOutputHandler.java:129)
	at org.netbeans.modules.maven.execute.AbstractOutputHandler.<init>(AbstractOutputHandler.java:105)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.<init>(CommandLineOutputHandler.java:133)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:261)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Comment 3 rashmidixit 2015-07-31 09:37:37 UTC
The attachment of the log is unreadable. With the latest build of 8.1 beta, there is no failure. THere are package resolutions that need to be done explicitly. Not sure if this is counted as a failure though.
Comment 4 alied 2015-08-01 00:35:52 UTC
Cannot reproduce with latest beta:

Product Version: NetBeans IDE 8.1 Beta (Build 201507302201)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Linux version 4.1.3 running on amd64; UTF-8; en_US (nb)
Comment 5 Tomas Stupka 2015-08-03 08:53:37 UTC

*** This bug has been marked as a duplicate of bug 253654 ***