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 262296 - class not found, corrupted cache
Summary: class not found, corrupted cache
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Windows 8
: P2 normal with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 13:49 UTC by ymajoros
Modified: 2016-07-26 09:39 UTC (History)
1 user (show)

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 ymajoros 2016-06-01 13:49:36 UTC
From time to time (mainly while checkout out git branches with a lot of breaking changes), some classes are indicated as non-existent. "Check for external changes", mvn clean install of the multiple-module project etc. all don't help. 

In this bug occurence today, we had to remove the cache and restart Netbeans. The classes that went missing were generated classes in a dependency (jpa metamodel). When viewing the dependency in the project where the problem occured, we could find the classes reported as missing by Netbeans. Editing / saving the classes to force a recompilation didn't help (it sometimes does).

How to force the cache to be updated? Would there be some way to tell how it became corrupted? We can take additional metrics next time.
Comment 1 Tomas Zezula 2016-06-02 06:58:50 UTC
Please can you attach the IDE log?
Comment 2 Svata Dedic 2016-07-26 09:39:02 UTC
no response, no data.