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.
-create new ClientDBclient sample => SEVERE: can't get model java.lang.IllegalStateException: can't get model at org.netbeans.modules.websvc.rest.projects.WebRestSupportLookupProvider$1.projectOpened(WebRestSupportLookupProvider.java:86) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:198) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) ...
Fixed by removing assertion that model is not null. Also, defensive checks for no Java source root cases in wizards. Checked in both trunk and release60 branch: /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java,v <-- SourceGroupSupport.java new revision: 1.13; previous revision: 1.12 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/projects/WebRestSupportLookupProvider.java,v <-- WebRestSupportLookupProvider.java new revision: 1.17; previous revision: 1.16 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/Bundle.properties,v <-- Bundle.properties new revision: 1.53; previous revision: 1.52 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/SingletonSetupPanelVisual.form,v <-- SingletonSetupPanelVisual.form new revision: 1.7; previous revision: 1.6 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/SingletonSetupPanelVisual.java,v <-- SingletonSetupPanelVisual.java new revision: 1.11; previous revision: 1.10 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/EntityResourcesIterator.java,v <-- EntityResourcesIterator.java new revision: 1.4; previous revision: 1.3 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/ContainerItemSetupPanelVisual.java,v <-- ContainerItemSetupPanelVisual.java new revision: 1.11; previous revision: 1.10 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/EntityResourcesSetupPanelVisual.java,v <-- EntityResourcesSetupPanelVisual.java new revision: 1.5; previous revision: 1.4 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java,v <-- SourceGroupSupport.java new revision: 1.12.2.1; previous revision: 1.12 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/projects/WebRestSupportLookupProvider.java,v <-- WebRestSupportLookupProvider.java new revision: 1.16.2.1; previous revision: 1.16 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/Bundle.properties,v <-- Bundle.properties new revision: 1.52.2.1; previous revision: 1.52 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/SingletonSetupPanelVisual.form,v <-- SingletonSetupPanelVisual.form new revision: 1.6.2.1; previous revision: 1.6 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/SingletonSetupPanelVisual.java,v <-- SingletonSetupPanelVisual.java new revision: 1.10.2.1; previous revision: 1.10 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/EntityResourcesIterator.java,v <-- EntityResourcesIterator.java new revision: 1.3.2.1; previous revision: 1.3 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/ContainerItemSetupPanelVisual.java,v <-- ContainerItemSetupPanelVisual.java new revision: 1.10.2.1; previous revision: 1.10 /cvs/websvc/rest/src/org/netbeans/modules/websvc/rest/wizard/EntityResourcesSetupPanelVisual.java,v <-- EntityResourcesSetupPanelVisual.java new revision: 1.4.2.1; previous revision: 1.4
v.