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.
See issue #173008. The J2SEPlatformModule can be removed and the recoverDefaultPlatfrom can be done by JavaPlatformProvider.getPlatforms().
Next release as it may cause some problems.