You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "mkhramov (Jira)" <ji...@apache.org> on 2020/02/14 21:23:00 UTC
[jira] [Created] (NETBEANS-3880) NPE on switching between version
control branches
mkhramov created NETBEANS-3880:
----------------------------------
Summary: NPE on switching between version control branches
Key: NETBEANS-3880
URL: https://issues.apache.org/jira/browse/NETBEANS-3880
Project: NetBeans
Issue Type: Bug
Components: projects - Gradle
Environment: Product Version: Apache NetBeans IDE DEV (Build dev-2f3fd90cef69fce35cd61bc985660e3c70236ec4)
Java: 12.0.2; Java HotSpot(TM) 64-Bit Server VM 12.0.2+10
Runtime: Java(TM) SE Runtime Environment 12.0.2+10
System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
Reporter: mkhramov
Assignee: Laszlo Kishalmi
Steps to reproduce:
Opened gradle root project ans some subprojects projects under version control. On current branch I have opened root project, some old subprojects and newly created in this branch subproject. Then select root project and switch ex. to master. The NPE is thrown:
java.lang.NullPointerException
at org.netbeans.modules.gradle.java.queries.GradleCompilerOptionsQuery$ResultImpl.getArguments(GradleCompilerOptionsQuery.java:102)
at org.netbeans.api.java.queries.CompilerOptionsQuery$Result.getArguments(CompilerOptionsQuery.java:99)
at org.netbeans.modules.java.source.indexing.APTUtils.verifyAttributes(APTUtils.java:453)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.lambda$call$0(JavaCustomIndexer.java:1509)
at java.base/java.util.Optional.map(Optional.java:265)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1509)
at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$MetadataCheck.call(JavaCustomIndexer.java:1495)
[catch] at org.openide.util.RequestProcessor$WaitableCallable.call(RequestProcessor.java:1279)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists