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 232379

Summary: AssertionError: Cache directory must exist.
Product: platform Reporter: Petr Cyhelsky <cyhelsky>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201972
Attachments: stacktrace

Description Petr Cyhelsky 2013-07-08 11:29:52 UTC
Build: NetBeans IDE Dev (Build 201307072319)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_21-b02
OS: Linux

User Comments:
cyhelsky: opening file by drag and drop




Stacktrace: 
java.lang.AssertionError: Cache directory must exist.
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.getCatalogCache(AutoupdateCatalogCache.java:89)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.getCatalogURL(AutoupdateCatalogCache.java:110)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:135)
   at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:173)
   at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:143)
   at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:271)
Comment 1 Petr Cyhelsky 2013-07-08 11:29:54 UTC
Created attachment 136815 [details]
stacktrace
Comment 2 Jiri Rechtacek 2013-07-19 12:56:02 UTC
http://hg.netbeans.org/core-main/rev/dfd3ad7bb8c8
Comment 3 Quality Engineering 2013-07-21 02:17:39 UTC
Integrated into 'main-silver', will be available in build *201307202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dfd3ad7bb8c8
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #232379 - AssertionError: Cache directory must exist; improve logging a bit