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 246635 - The JavaScript core files are not reindexed after updating version of index
Summary: The JavaScript core files are not reindexed after updating version of index
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2014-08-22 09:30 UTC by Petr Pisl
Modified: 2015-08-13 16:04 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2014-08-22 09:30:00 UTC
We have run into this issue already twice and I'm afraid that without a proper fix we will run into this every update release. 

The previous issues are issue #244049 and issue #246615. 

The root of the problem is described by Tomas Zezula:

It's because the timestamp does not changed and also it's not registered in the GPR on when indexer fires its version has changed. The are registered much later when first request on javascript indexer is done.

We have to change the timestamps not only the zip files, but also timestamps of the files inside to get reindex them after the updates. The updates usually increase the number of the JS index, so the core files has to be reindexed. But because the runtime files are put to the GPR lazy, the infrastructure doesn't reindex the files.