netbeans-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luff,Chris" <Chris.L...@Cerner.com>
Subject Re: NPE WizardDescriptor
Date Thu, 08 Aug 2019 14:10:47 GMT
Yup, working for me in a build from the PR. I created the project I needed so I am going to
revert back to 11.1 and await 11.2.

Chris Luff | Associate Principal Engineer | UK Development - Care Insight and Delivery Dev
| chris.luff@cerner.com<mailto:chris.luff@cerner.com> | +44 (0)7970 735175 | Cerner
Limited<http://www.cerner.com/>

**Join us on Microsoft Teams<https://teams.microsoft.com/l/channel/19:c2e663c377ec4aac8dfbea8b05474b55@thread.skype/Clinical%20Timeline?groupId=2b7a095c-9971-48f7-b185-2ddb366be648&tenantId=fbc493a8-0d24-4454-a815-f4ca58e8c09d>**

On 8 Aug 2019, at 11:02, Luff,Chris <Chris.Luff@Cerner.com<mailto:Chris.Luff@Cerner.com>>
wrote:

+1 thanks - I’ll watch the NETBEANS-2883[1] - I’ll also build from the PR and test myself.

[1]: https://issues.apache.org/jira/browse/NETBEANS-2883<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-2883&data=02%7C01%7CChris.Luff%40cerner.com%7C7fec4d86d53a42065fa208d71be79d17%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008553941921065&sdata=Z%2BCUzapsaM15VirpMFet2q6wErPIlOSEbyLtrfwdoBw%3D&reserved=0>

Chris Luff | Associate Principal Engineer | UK Development - Care Insight and Delivery Dev
| chris.luff@cerner.com<mailto:chris.luff@cerner.com> | +44 (0)7970 735175 | Cerner
Limited<http://www.cerner.com/>

**Join us on Microsoft Teams<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchannel%2F19%3Ac2e663c377ec4aac8dfbea8b05474b55%40thread.skype%2FClinical%2520Timeline%3FgroupId%3D2b7a095c-9971-48f7-b185-2ddb366be648%26tenantId%3Dfbc493a8-0d24-4454-a815-f4ca58e8c09d&data=02%7C01%7CChris.Luff%40cerner.com%7C7fec4d86d53a42065fa208d71be79d17%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008553941931060&sdata=rPsSFUYsb75A6b%2FnNhTx1K4SHux8wuUi61ueRU33FEw%3D&reserved=0>**

On 8 Aug 2019, at 10:22, Eric Barboni <skygo@apache.org<mailto:skygo@apache.org>>
wrote:

Hi
May be related to https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-2920&amp;data=02%7C01%7CChris.Luff%40Cerner.com%7C33e8bd7de62a410757c008d71be1f767%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008529677000062&amp;sdata=pFfSUhEdORWSRbnMlmnNo%2FA1bydaSrfiyFGmwuX%2ByLM%3D&amp;reserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-2920&data=02%7C01%7CChris.Luff%40cerner.com%7C7fec4d86d53a42065fa208d71be79d17%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008553941931060&sdata=oJVad9Sywkh%2FmtUjOjml0wZYVJP5vl1A5UakoTKk948%3D&reserved=0>
and
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-2883&amp;data=02%7C01%7CChris.Luff%40Cerner.com%7C33e8bd7de62a410757c008d71be1f767%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008529677000062&amp;sdata=%2Fa8fzL%2FUHTWSYlUJ5RXLxr%2FJnsdwZHlj1OZ%2Bsx0Mf2g%3D&amp;reserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-2883&data=02%7C01%7CChris.Luff%40cerner.com%7C7fec4d86d53a42065fa208d71be79d17%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008553941941057&sdata=j9TvlMeJj9UpXGcOdvEBrEUsB8MaGEhKl7DFKbYXahg%3D&reserved=0>
 fixed in master

As workaround you may try
File -> New Project -> Java with Maven -> Project from Archetype ->

For a "platform"
GroupID: org.apache.netbeans.archetypes
Artifact ID:netbeans-platform-app-archetype
Version 1.21

For a "nbm"
GroupID: org.apache.netbeans.archetypes
Artifact ID: nbm-archetype
Version 1.16

Regards
Eric
-----Message d'origine-----
De : Luff,Chris <Chris.Luff@Cerner.com<mailto:Chris.Luff@Cerner.com>>
Envoyé : jeudi 8 août 2019 10:24
À : NetBeans Mailing List <users@netbeans.apache.org<mailto:users@netbeans.apache.org>>
Objet : NPE WizardDescriptor

Morning/Afternoon/Evening

Following the New Project workflow in NetBeans 11.1 a Maven based NetBeans
Module, could someone else try this and tell me if they get the same
behaviour?

File -> New Project -> Java with Maven -> NetBeans Module -> Complete Name
and Location Prompts -> Select RELEASE111 (also tried 110 and 100).

The dialog will close, the new project does not get created and Notification
indicating a NPE will show up. If I then try the very same workflow without
restarting the New Project will not display at all. Other New Project
workflows work as expected. I also changed the runtime to 11.0.2 just to be
sure.

java.lang.NullPointerException
at
org.apache.maven.artifact.versioning.ComparableVersion.parseVersion(Comparab
leVersion.java:357)
at
org.apache.maven.artifact.versioning.ComparableVersion.<init>(ComparableVers
ion.java:348)
at
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.perf
ormOperation(NBMNativeMWI.java:384)
at
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.perf
ormOperation(NBMNativeMWI.java:141)
at
org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utiliti
es.java:318)
at
org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(Create
ProjectBuilder.java:146)
at
org.netbeans.modules.maven.apisupport.NBMNativeMWI.instantiate(NBMNativeMWI.
java:69)
at
org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizar
dIterator.java:130)
at
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(T
emplateWizard.java:1028)
at
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580
)
at
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjec
tWizard.java:51)
at
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java
:414)
at
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImp
l.java:223)
at
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizard
IteratorWrapper.java:135)
at
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
[catch] at
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


Product Version: Apache NetBeans IDE 11.1
Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12
Runtime: Java(TM) SE Runtime Environment 12.0.1+12
System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)


Associate Principal Engineer | UK Development - Care Insight and Delivery
Dev | chris.luff@cerner.com<mailto:chris.luff@cerner.com> | Cerner Limited



CONFIDENTIALITY NOTICE This message and any included attachments are from
Cerner Corporation and are intended only for the addressee. The information
contained in this message is confidential and may constitute inside or
non-public information under international, federal, or state securities
laws. Unauthorized forwarding, printing, copying, distribution, or use of
such information is strictly prohibited and may be unlawful. If you are not
the addressee, please promptly delete this message and notify the sender of
the delivery error by e-mail or you may call Cerner's corporate offices in
Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited,
Registered in England no 2519305, Registered Office 37 North Wharf Road,
London W2 1AF.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<mailto:users-unsubscribe@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<mailto:users-help@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7CChris.Luff%40Cerner.com%7C33e8bd7de62a410757c008d71be1f767%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008529677000062&amp;sdata=cJdxoqiBVqLSJRlJypCr1Jw90pdyfzkaG59U1hiB0Sk%3D&amp;reserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=02%7C01%7CChris.Luff%40cerner.com%7C7fec4d86d53a42065fa208d71be79d17%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637008553941941057&sdata=dJ3pgyNR1wh3sbStpaEBeLsD6IdSeCtiNaUKTjtPw7E%3D&reserved=0>




CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation
and are intended only for the addressee. The information contained in this message is confidential
and may constitute inside or non-public information under international, federal, or state
securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such
information is strictly prohibited and may be unlawful. If you are not the addressee, please
promptly delete this message and notify the sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London
W2 1AF.

Mime
View raw message