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 224287 - Refactor package name cause error badges on classes
Summary: Refactor package name cause error badges on classes
Status: RESOLVED DUPLICATE of bug 224783
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 19:06 UTC by Sergey Petrov
Modified: 2013-01-14 08:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2012-12-28 19:06:22 UTC
With reduced tree package view (may matter),
in new ant web project(in my case with tomcat 7 as target)
create a package a.b.c
add a few classes 'NewClass', 'NewClass1',.. (I have 4 classes)
close all editors
in project tree, select 'refactor-rename' on 'a.b.c'
and change 'c' to 'some'/finish refactoring

all classes and the package are marked with error badges,
tooltip show 'parse error'
/
have soem related lines in log:
INFO [org.netbeans.modules.refactoring.spi.impl.ParametersPanel]: org.netbeans.modules.refactoring.api.RefactoringSession@12e964d called start multiple times
//
and after opening a class:
WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Incorrect error badges detected, file=C:\Users\xx\AppData\Local\Temp\WebApplication20\src\java\a\b\some\NewClass.java.
WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Going to recompute root=C:\Users\xx\AppData\Local\Temp\WebApplication20\src\java, files in error=[file:/C:/Users/xx/AppData/Local/Temp/WebApplication20/src/java/a/b/some/NewClass.java, file:/C:/Users/xx/AppData/Local/Temp/WebApplication20/src/java/a/b/some/NewClass1.java, file:/C:/Users/xx/AppData/Local/Temp/WebApplication20/src/java/a/b/some/NewClass2.java, file:/C:/Users/xx/AppData/Local/Temp/WebApplication20/src/java/a/b/some/NewClass3.java].
Comment 1 Jiri Prox 2013-01-14 08:01:56 UTC
Duplicate of issue 224783?

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