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 148610 - IllegalArgumentException: Tried to pass null folder arg
Summary: IllegalArgumentException: Tried to pass null folder arg
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: martin_adamek
URL: http://statistics.netbeans.org/except...
Keywords:
: 148609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-29 12:31 UTC by Lukas Jungmann
Modified: 2008-10-30 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 103853


Attachments
project sources (5.64 MB, application/octet-stream)
2008-09-29 12:33 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-09-29 12:31:17 UTC
Build: NetBeans IDE Dev (Build 200809020201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1205)
        at org.netbeans.modules.refactoring.java.RetoucheUtils.isOnSourceClasspath(RetoucheUtils.java:345)
        at
org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.canRename(RefactoringActionsProvider.java:220)
        at
org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.canRename(ActionsImplementationFactory.java:59)
        at org.netbeans.modules.refactoring.spi.impl.RenameAction.enable(RenameAction.java:74)
        at
org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.isEnabled(RefactoringGlobalAction.java:165)
        at
org.netbeans.modules.refactoring.spi.impl.RSMDataObjectAction.createContextAwareInstance(RSMDataObjectAction.java:92)
        at org.openide.util.Utilities.actionsToPopup(Utilities.java:2655)
        at org.openide.util.Utilities.actionsToPopup(Utilities.java:2747)
        at org.openide.explorer.view.TreeView.createPopup(TreeView.java:953)
Comment 1 Lukas Jungmann 2008-09-29 12:31:56 UTC
steps:

-open groovyblogs in the IDE
-right-click on the "Art" node

=> IAE 
Comment 2 Lukas Jungmann 2008-09-29 12:33:06 UTC
Created attachment 70790 [details]
project sources
Comment 3 Lukas Jungmann 2008-09-29 12:33:11 UTC
*** Issue 148609 has been marked as a duplicate of this issue. ***
Comment 4 martin_adamek 2008-09-29 15:19:39 UTC
Fixed.
http://hg.netbeans.org/main/rev/c963577bc9de
Comment 5 Quality Engineering 2008-09-30 06:05:52 UTC
Integrated into 'main-golden', will be available in build *200809300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c963577bc9de
User: Martin Adamek <martin_adamek@netbeans.org>
Log: #148610: IllegalArgumentException: Tried to pass null folder arg
Comment 6 Lukas Jungmann 2008-10-02 13:08:26 UTC
v.