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 211041 - AssertionError at org.netbeans.modules.java.platform.InstallerRegistry.<init>
Summary: AssertionError at org.netbeans.modules.java.platform.InstallerRegistry.<init>
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 18:32 UTC by williambacchi
Modified: 2012-04-13 09:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186681


Attachments
stacktrace (7.05 KB, text/plain)
2012-04-11 18:33 UTC, williambacchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description williambacchi 2012-04-11 18:32:55 UTC
Build: NetBeans IDE Dev (Build 201204100400)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Linux

User Comments:
GUEST: Adding Java Platform

GUEST: Trying to add a platform.

GUEST: Trying to add a platform

williambacchi: Trying to add a java platform




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.java.platform.InstallerRegistry.<init>(InstallerRegistry.java:72)
   at org.netbeans.modules.java.platform.InstallerRegistry.getDefault(InstallerRegistry.java:118)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.addNewPlatform(PlatformsCustomizer.java:342)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.access$000(PlatformsCustomizer.java:101)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer$1.actionPerformed(PlatformsCustomizer.java:215)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Comment 1 williambacchi 2012-04-11 18:33:00 UTC
Created attachment 118158 [details]
stacktrace
Comment 2 Tomas Zezula 2012-04-12 10:55:03 UTC
The assertion is not needed anymore, so I removed it. Fixed jet-main 9e0696717d9e
But it seems that the system file system is broken, it's already some time after start and the folder "org-netbeans-api-java/platform/installers" was not found on the system file system even it is defined in layer of the same module as InstallerRegistry. Adding Jarda to cc.
Comment 3 Quality Engineering 2012-04-13 09:48:23 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9e0696717d9e
User: Tomas Zezula <tzezula@netbeans.org>
Log: #211041:AssertionError at org.netbeans.modules.java.platform.InstallerRegistry.<init>