[GRADLE-3559] NullPointerException when accessing artifact in cache Created: 15/Sep/16 Updated: 25/Jan/17 Resolved: 25/Jan/17 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Benjamin Muschko | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Known Issue Of: |
Description |
Discussion was raised on the Gradle forum Sporadically, the following exception is thrown when accessing an artifact from the local cache: error 13-Sep-2016 09:37:17 Caused by: java.lang.NullPointerException error 13-Sep-2016 09:37:17 at org.gradle.cache.internal.DefaultCacheAccess$UnitOfWorkFileAccess.writeFile(DefaultCacheAccess.java:404) error 13-Sep-2016 09:37:17 at org.gradle.cache.internal.DefaultMultiProcessSafePersistentIndexedCache.getCache(DefaultMultiProcessSafePersistentIndexedCache.java:91) error 13-Sep-2016 09:37:17 at org.gradle.cache.internal.DefaultMultiProcessSafePersistentIndexedCache.get(DefaultMultiProcessSafePersistentIndexedCache.java:33) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.modulecache.DefaultModuleMetaDataCache.getCachedModuleDescriptor(DefaultModuleMetaDataCache.java:66) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository$LocateInCacheRepositoryAccess.resolveComponentMetaDataFromCache(CachingModuleComponentRepository.java:158) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleComponentRepository$LocateInCacheRepositoryAccess.resolveComponentMetaData(CachingModuleComponentRepository.java:154) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.BaseModuleComponentRepositoryAccess.resolveComponentMetaData(BaseModuleComponentRepositoryAccess.java:42) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryCachedModuleComponentRepository$CachedAccess.resolveComponentMetaData(InMemoryCachedModuleComponentRepository.java:75) error 13-Sep-2016 09:37:17 at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ErrorHandlingModuleComponentRepository$ErrorHandlingModuleComponentRepositoryAccess.resolveComponentMetaData(ErrorHandlingModuleComponentRepository.java:89) error 13-Sep-2016 09:37:17 ... 106 more |
Comments |
Comment by Benjamin Muschko [ 15/Nov/16 ] |
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub. We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to. Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle! |
Comment by Benjamin Muschko [ 25/Jan/17 ] |
We haven't heard any other reports from users about this issue. |