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 233933 - Always displayed incorrect error for some files
Summary: Always displayed incorrect error for some files
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 08:11 UTC by ExIngus
Modified: 2015-05-12 15:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Журнал среды IDE (568.58 KB, text/plain)
2013-08-05 08:11 UTC, ExIngus
Details
The project files with an error. (19.71 KB, application/octet-stream)
2013-08-07 16:00 UTC, ExIngus
Details
Project files without error. (19.59 KB, application/octet-stream)
2013-08-07 16:01 UTC, ExIngus
Details
Bug project (321.76 KB, application/octet-stream)
2013-08-09 07:18 UTC, ExIngus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ExIngus 2013-08-05 08:11:03 UTC
Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

Always displayed incorrect error for some files.
Projects correctly build.
Deleting the cache and settings NetBeanse not helps.
This log NetBeanse message "Incorrect error badges detected":
WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Incorrect error badges detected, file=E:\NetBeansProject\IRLEMsvn\trunk\ClaimGWT\src\ru\irlem\is\claim\web\gwt\client\view\component\IMembersView.java.
WARNING [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Going to recompute root=E:\NetBeansProject\IRLEMsvn\trunk\ClaimGWT\src, files in error=[file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/ru/irlem/is/claim/web/gwt/client/view/AcceptedClaimView.java, file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/ru/irlem/is/claim/web/gwt/client/view/component/ControllMemberListView.java, file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/ru/irlem/is/claim/web/gwt/client/view/component/IMembersView.java, file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/ru/irlem/is/claim/web/gwt/client/view/component/MemberListView.java].
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: addIndexingJob: rootUrl=file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/, fileUrls=null, followUpJob=false, checkEditor=true, wait=false
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Scheduling index refreshing: root=file:/E:/NetBeansProject/IRLEMsvn/trunk/ClaimGWT/src/, files=null

For a class of IMembersView error is visible only in the project tree.

Message to the class MemberListView: 
type argument IMembersPresenter is not within bounds of type-variable P  where P is a type-variable: P extends IPresenter declared in class View

Classes:
public class MemberListView extends View<IMembersView.IMembersPresenter> implements IMembersView {
...
}
public abstract class View<P extends IPresenter> extends Composite implements IView<P> {
...
}
public interface IMembersView extends IView<IMembersView.IMembersPresenter> {
		public interface IMembersPresenter extends IPresenter {
...
	    }
...
}
public interface IView<P extends IPresenter> extends IsWidget {
...
}
public interface IPresenter {
     void go(final HasWidgets container);
}

Sorry for my bad English.
Comment 1 ExIngus 2013-08-05 08:11:22 UTC
Created attachment 138266 [details]
Журнал среды IDE
Comment 2 Jan Lahoda 2013-08-07 13:27:23 UTC
I tried to reproduce using the provided information, but I unfortunately did not succeed. Is there a chance we could get a minimized reproducible test case? Thanks.
Comment 3 ExIngus 2013-08-07 13:34:27 UTC
There is a chance. I will try to isolate the problem, but the Projects big and you can not open all of the source code.
Comment 4 ExIngus 2013-08-07 15:58:26 UTC
Through trial found:
The file
E:\NetBeansProject\IRLEMsvn\trunk\ClaimGWT\src\ru\irlem\is\claim\web\gwt\client\view\component\IMemberView.java
not handled correctly IMemberView.IMembersPresenter.
The problem, it seems, in the long path to the file.
If we make the path is shorter then the error is not shown.
Comment 5 ExIngus 2013-08-07 16:00:42 UTC
Created attachment 138409 [details]
The project files with an error.
Comment 6 ExIngus 2013-08-07 16:01:35 UTC
Created attachment 138410 [details]
Project files without error.
Comment 7 ExIngus 2013-08-07 16:03:34 UTC
Later I will try to repeat the problem on the new project.
Comment 8 ExIngus 2013-08-09 07:15:31 UTC
Error failed to locate.
Spread part of the project, without the dependencies.
jdk1.7.0_25
Netbeans 7.3.1
gwt-2.5.1
To clean and build the project.
Comment 9 ExIngus 2013-08-09 07:18:06 UTC
Created attachment 138480 [details]
Bug project

Unzip on drive C:
Path to Project C:\NetBeansProject\IRLEMsvn\trunk\ClaimGWT
Comment 10 Svata Dedic 2015-05-12 15:44:05 UTC
Can't reproduce, sorry. If still happens, please provide some current sample & reopen. Thanks.