Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2824

No Properties dialog showing in 11.1vc1 for Java Application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 11.1
    • 11.1
    • editor - Options
    • Windows 10, AdoptOpenJDK 11.0.3

    Description

      mOpen project properties dialog on plain Java Application Maven project ends with:

      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)
      

      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 -> it works!
      • 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 -> it fails!

      Attachments

        1. messages.log
          133 kB
          Pieter van den Hombergh

        Issue Links

          Activity

            People

              jgauravgupta Gaurav Gupta
              graben Benjamin Graf
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m