mbien commented on issue #8459:
URL: https://github.com/apache/netbeans/issues/8459#issuecomment-2832402639

   the stacktrace lines don't match current `TaskCache` code. They seem to 
match the code which would be in NB 24 and 25.
   
   https://github.com/apache/netbeans/pull/7982 
(https://github.com/mbien/netbeans/blob/90aeca3efed278b99004ea9e9a945c46cf1eccd3/ide/parsing.indexing/src/org/netbeans/modules/parsing/impl/indexing/errors/TaskCache.java#L280)
   
   I don't remember the timeline completely, but we reverted a PR due to a 
severe code scanner problem for NB 24 (was only "released" as RC) and 
re-applied an updated version later for NB 26.
   
   So this looks to me like the cache was generated by a newer version of NB 
(possibly 26 or a 24 RC build), but you might have accidentally used it with an 
older release build (probably around NB 24-25).
   
   rule of thumb: 
    - if you want to build a release build of NB, you grab the source zip the 
download page and simply build with the default target (like README suggests). 
Releases manage the config migration etc so you typically don't have to worry 
about it.
    - everything else are essentially dev builds. Dev builds use the dev config 
folder - they won't complain much, you have to manage that folder yourself.
    - if you want to start a release build with a temp config to check 
something, you can simply start it with `netbeans --userdir /tmp/nbtempdir1`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to