This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268031 - NullPointerException at org.netbeans.modules.maven.indexer.api.RepositoryQueries.getLoadedContexts
Summary: NullPointerException at org.netbeans.modules.maven.indexer.api.RepositoryQuer...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: 82_HR_FIX_CANDIDATE
Depends on:
Blocks:
 
Reported: 2016-09-14 22:04 UTC by javydreamercsw
Modified: 2016-09-16 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226234


Attachments
stacktrace (982 bytes, text/plain)
2016-09-14 22:04 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2016-09-14 22:04:08 UTC
Build: NetBeans IDE Dev (Build 201609140002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
javydreamercsw: Doing usage on a method.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.indexer.api.RepositoryQueries.getLoadedContexts(RepositoryQueries.java:580)
   at org.netbeans.modules.maven.refactoring.MavenRefactoringPlugin.prepare(MavenRefactoringPlugin.java:113)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:442)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:426)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:237)
   at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare$2.run(ParametersPanel.java:1086)
Comment 1 javydreamercsw 2016-09-14 22:04:10 UTC
Created attachment 162053 [details]
stacktrace
Comment 2 Tomas Stupka 2016-09-15 09:03:55 UTC
fixed in jet-main #82a9a665de43
Comment 3 Jiri Kovalsky 2016-09-15 10:07:00 UTC
This is a serious issue which needs to be fixed in 8.2 release. Increasing priority accordingly. Tomáši, please integrate the fix into release82 branch. Thanks!
Comment 4 Tomas Stupka 2016-09-15 11:07:21 UTC
integrated into releases82 #ef0fdb3ebe2d
Comment 5 Quality Engineering 2016-09-16 02:29:06 UTC
Integrated into 'main-silver', will be available in build *201609160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/82a9a665de43
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #268031 - NullPointerException at org.netbeans.modules.maven.indexer.api.RepositoryQueries.getLoadedContexts