[ 
https://issues.apache.org/jira/browse/NETBEANS-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Graf updated NETBEANS-2824:
------------------------------------
    Description: 
Open project properties dialog on plain Java Application Maven project ends 
with:
{code:java}
java.lang.NullPointerException
        at 
org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
        at 
org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
        at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
        at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
        at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
        at org.openide.util.Mutex.readAccess(Mutex.java:235)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
        at 
org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
        at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{code}
Reproducable with following steps:
 * Install a fresh installation from scratch by using zip and deleting profile
 * Start Netbeans Application
 * Start "New project dialog"
 ** Create a new Java with Maven - Java Application project
 *** Download and Activate modules (nb-javac-impl!)
 *** Finish project creating
 * Open Properties on created project -> {color:#14892c}*it works!*{color}
 * Start "New project dialog"
 ** Create a new Java with Maven - Web Application project
 ** Cancel dialog after modules have been activated
 * Open Properties on previously created project -> {color:#FF0000}*it 
fails!*{color}

  was:
Open project properties dialog on plain Java Application Maven project ends 
with:


{code:java}
java.lang.NullPointerException
        at 
org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
        at 
org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
        at 
org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
        at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
        at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
        at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
        at org.openide.util.Mutex.readAccess(Mutex.java:235)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
        at 
org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
        at 
org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
        at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{code}


Reproducable with following steps:
* Install a fresh installation from zip
* Create a new Java Application with activating Java
* Trying to Open Properties -> it works!
* Activating Java EE
* Trying to Open Properties -> it fails!


> No preference window showing in 11.1vc1
> ---------------------------------------
>
>                 Key: NETBEANS-2824
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2824
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Options
>    Affects Versions: 11.1
>         Environment: Windows 10, AdaoptOpenJDK 11.0.3
>            Reporter: Benjamin Graf
>            Priority: Blocker
>
> Open project properties dialog on plain Java Application Maven project ends 
> with:
> {code:java}
> java.lang.NullPointerException
>       at 
> org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
>       at 
> org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
>       at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
>       at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
>       at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>       at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>       at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>       at org.openide.util.Mutex.readAccess(Mutex.java:235)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
>       at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
>       at 
> org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
>       at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>       at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>       at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>       at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>       at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>       at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>       at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> Reproducable with following steps:
>  * Install a fresh installation from scratch by using zip and deleting profile
>  * Start Netbeans Application
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Java Application project
>  *** Download and Activate modules (nb-javac-impl!)
>  *** Finish project creating
>  * Open Properties on created project -> {color:#14892c}*it works!*{color}
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Web Application project
>  ** Cancel dialog after modules have been activated
>  * Open Properties on previously created project -> {color:#FF0000}*it 
> fails!*{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to