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 271853

Summary: Gradle build Fails with "Cannot find snapshot for id: 8068980348313526576"
Product: projects Reporter: aplatypus <aplatypus>
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Gradle stacktrace from the build exhibiting the error.

Description aplatypus 2017-11-27 22:55:18 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_152
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.152-b16

Reproducibility: Happens sometimes, but not always

STEPS:

  * Existing gradle sub-project
  * Rebooted PC (this morning)
  * Started Netbeans
  * Some edits to a .Java file
  * Click on sub-project: BUILD

ACTUAL:

  * Build failed
  * Message
      Cannot find snapshot for id: 8068980348313526576

EXPECTED:
 * Build to complete or at least report compile errors
 * This project has build many 1,000-s of times


OTHER:

I am attaching the Gradle stackdump.

Also there is no project component for Gradle when reporting bugs, you have Maven and And; I suggest you include Gradle as well since most projects are moving to Gradle.

This has happned before, not always after a netbeans restart or PC reboot.
Comment 1 aplatypus 2017-11-27 22:55:25 UTC
Created attachment 165502 [details]
IDE log
Comment 2 aplatypus 2017-11-27 22:58:39 UTC
Created attachment 165503 [details]
Gradle stacktrace from the build exhibiting the error.