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 256123 - NullPointerException at org.apache.tools.ant.module.api.support.TargetLister$Script.<init>
Summary: NullPointerException at org.apache.tools.ant.module.api.support.TargetLister$...
Status: RESOLVED DUPLICATE of bug 245600
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-23 05:39 UTC by Exceptions Reporter
Modified: 2015-12-23 13:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220720


Attachments
stacktrace (4.17 KB, text/plain)
2015-10-23 05:39 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-10-23 05:39:44 UTC
This bug was originally marked as duplicate of bug 245600, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Windows 8

User Comments:
GUEST: build -> package




Stacktrace: 
java.lang.NullPointerException
   at org.apache.tools.ant.module.api.support.TargetLister$Script.<init>(TargetLister.java:296)
   at org.apache.tools.ant.module.api.support.TargetLister.getTargets(TargetLister.java:117)
   at org.apache.tools.ant.module.run.RunTargetsAction$LazyMenu.getPopupMenu(RunTargetsAction.java:197)
   at com.jidesoft.plaf.vsnet.VsnetMenuUI.installListeners(VsnetMenuUI.java:0)
   at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.installUI(VsnetMenuItemUI.java:0)
   at javax.swing.JComponent.setUI(JComponent.java:665)
Comment 1 Exceptions Reporter 2015-10-23 05:39:46 UTC
Created attachment 156923 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-10-29 09:55:26 UTC
com.jidesoft.plaf.vsnet.VsnetMenuUI and de.bfg9000.mongonb module that causes this: LazyMenu.getPopupMenu is called from inside the constructor before it's finished and project is still null (not yet set to any value).
Comment 3 Tomas Stupka 2015-12-23 13:49:58 UTC
haven't been transplanted to 8.0.2
still a duplicate of issue #245600

*** This bug has been marked as a duplicate of bug 245600 ***