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 251897 - IllegalArgumentException: URI has an authority component
Summary: IllegalArgumentException: URI has an authority component
Status: RESOLVED DUPLICATE of bug 246169
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 19:37 UTC by kariseghi
Modified: 2015-04-20 07:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 211104


Attachments
stacktrace (1.04 KB, text/plain)
2015-04-16 19:37 UTC, kariseghi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kariseghi 2015-04-16 19:37:52 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
GUEST: I get this every time I try to refractor by moving or copying a class from one package to another.  The result is that package indicated at the top of the class and the imports in other classes are not changed.  I have to go and change them manually.  This was not always the case.  It started happening one time when I upgraded Netbeans.  I don't recall when.  It's annoying, but I work around it well enough.

kariseghi: connecting mysql




Stacktrace: 
java.lang.IllegalArgumentException: URI has an authority component
   at java.io.File.<init>(File.java:423)
   at org.netbeans.modules.refactoring.java.RefactoringUtils.getPackageName(RefactoringUtils.java:384)
   at org.netbeans.modules.refactoring.java.plugins.CopyClassRefactoringPlugin.fastCheckParameters(CopyClassRefactoringPlugin.java:117)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsFastCheckParams(AbstractRefactoring.java:530)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.fastCheckParameters(AbstractRefactoring.java:283)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.checkParameters(AbstractRefactoring.java:260)
Comment 1 kariseghi 2015-04-16 19:37:54 UTC
Created attachment 153240 [details]
stacktrace
Comment 2 Ralph Ruijs 2015-04-20 07:47:49 UTC

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