[
https://issues.apache.org/jira/browse/NETBEANS-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962573#comment-16962573
]
Laszlo Kishalmi commented on NETBEANS-3276:
-------------------------------------------
So, the reproduction steps:
# Create a Gradle web project
# Open it's properties go to the Run section change the browser for the
project. (this step might be optional)
# Open the build.gradle and comment out the war plugin, and save the file
# Switch to a Files or Favorites view. (Usually this is enough to trigger it.)
# Select a non-project folder. (Might be not needed)
> NPE in WebProjectBrowserProvider.
> ---------------------------------
>
> Key: NETBEANS-3276
> URL: https://issues.apache.org/jira/browse/NETBEANS-3276
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 11.1
> Reporter: Shevek
> Assignee: Laszlo Kishalmi
> Priority: Major
>
> java.lang.NullPointerException
> at
> org.netbeans.modules.gradle.javaee.web.WebProjectBrowserProvider.getPreferences(WebProjectBrowserProvider.java:119)
> at
> org.netbeans.modules.gradle.javaee.web.WebProjectBrowserProvider.removePropertyChangeListener(WebProjectBrowserProvider.java:106)
> at
> org.netbeans.modules.web.clientproject.browser.ActiveBrowserAction.activeProjectChanged(ActiveBrowserAction.java:320)
> at
> org.netbeans.modules.web.clientproject.browser.ActiveBrowserAction.refreshView(ActiveBrowserAction.java:305)
> at
> org.netbeans.modules.web.clientproject.browser.ActiveBrowserAction.access$700(ActiveBrowserAction.java:86)
> at
> org.netbeans.modules.web.clientproject.browser.ActiveBrowserAction$8.run(ActiveBrowserAction.java:295)
> 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)
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists