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 41056 - When editing platform, exception is thrown on finish with auto-filled values.
Summary: When editing platform, exception is thrown on finish with auto-filled values.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-03-17 09:02 UTC by Petr Nejedly
Modified: 2006-03-24 09:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2004-03-17 09:02:58 UTC
java.lang.IllegalArgumentException: SourceFolder
must be a folder.
org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformImpl.setSourceFolders(J2SEPlatformImpl.java:193)
org.netbeans.modules.java.j2seplatform.wizard.SrcDocLocation$Panel.storeSettings(SrcDocLocation.java:254)
org.openide.WizardDescriptor.resetWizard(WizardDescriptor.java:832)
org.openide.WizardDescriptor.setValue(WizardDescriptor.java:822)
org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:967)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
[...]

I was editinf the default platform in project
customizer, pointed it to JDK1.5 instalation, it
autodetected everything and prefilled out the path
to sources as ..../src.zip.
But the wizard refused to finish with above
mentioned exception.
It went OK if I cleared the sources field.
Comment 1 Tomas Zezula 2004-08-04 14:56:05 UTC
Fixed.
Comment 2 Petr Nejedly 2004-08-05 08:48:50 UTC
Works OK now.