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 247330 - NullPointerException at org.netbeans.modules.web.clientproject.grunt.TargetLister.getTargets
Summary: NullPointerException at org.netbeans.modules.web.clientproject.grunt.TargetLi...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-20 15:55 UTC by rkamradt
Modified: 2015-05-20 11:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211627


Attachments
stacktrace (4.37 KB, text/plain)
2014-09-20 15:55 UTC, rkamradt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkamradt 2014-09-20 15:55:23 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b19
OS: Windows 7

User Comments:
GUEST: Right click on project name does not work any longer, because of grunt. 
Though, Gruntfile.js is here and valid.
If I delete Gruntfile.js, no more problem. 
if I type, grunt --help in my terminal, everything's ok

rkamradt: Setting up grunt targets




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.clientproject.grunt.TargetLister.getTargets(TargetLister.java:66)
   at org.netbeans.modules.web.clientproject.grunt.RunTargetsAction$LazyMenu$1.run(RunTargetsAction.java:223)
   at org.netbeans.modules.web.clientproject.grunt.RunTargetsAction$LazyMenu.rebuild(RunTargetsAction.java:299)
   at org.netbeans.modules.web.clientproject.grunt.RunTargetsAction$LazyMenu.getPopupMenu(RunTargetsAction.java:211)
   at com.jidesoft.plaf.vsnet.VsnetMenuUI.installListeners(VsnetMenuUI.java:0)
   at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.installUI(VsnetMenuItemUI.java:0)
Comment 1 rkamradt 2014-09-20 15:55:25 UTC
Created attachment 149389 [details]
stacktrace
Comment 2 Tomas Mysik 2015-05-20 11:19:18 UTC
Grunt support has been rewritten in the dev version of NetBeans so this issue should not be valid anymore.

Thanks.