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 146130 - Exception when starting IDE: Paths passed to InstalledFileLocator.locate should not end in '/': javafx-sdk1.0pre1/docs/
Summary: Exception when starting IDE: Paths passed to InstalledFileLocator.locate shou...
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 08:31 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (36.47 KB, text/plain)
2008-09-04 08:31 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-09-04 08:31:01 UTC
Project JavaFX_NB_Plugin_NB65_daily: #229 	04-Sep-2008 02:01:21
Product Version         = NetBeans IDE Dev (Build 200809031401)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor        = 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11; Sun Microsystems Inc.


Steps to reproduce:

- Install JavaFX plugin nbms
- Restart the IDE
 The IllegalArgumentException pops up:


java.lang.IllegalArgumentException: Paths passed to InstalledFileLocator.locate should not end in '/':
javafx-sdk1.0pre1/docs/
	at org.netbeans.core.startup.InstalledFileLocatorImpl.locate(InstalledFileLocatorImpl.java:137)
	at org.openide.modules.InstalledFileLocator$1.locate(InstalledFileLocator.java:64)
	at org.netbeans.core.startup.layers.NbinstURLMapper.decodeURL(NbinstURLMapper.java:103)
	at org.netbeans.core.startup.layers.NbinstURLMapper.getFileObjects(NbinstURLMapper.java:78)
	at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:213)
	at
org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider.addLibraryIntoBuild(J2SELibraryTypeProvider.java:190)
	at org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider.access$000(J2SELibraryTypeProvider.java:74)
	at org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider$1.run(J2SELibraryTypeProvider.java:122)
	at org.openide.util.Mutex$1Exec.run(Mutex.java:1239)
	at org.netbeans.api.project.ProjectManager$2$1.run(ProjectManager.java:120)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120)
Comment 1 Alexandr Scherbatiy 2008-09-04 08:31:29 UTC
Created attachment 69013 [details]
IDE log file
Comment 2 Alexandr Scherbatiy 2008-09-04 08:34:10 UTC
Note that JavaFX SDK dir is javafx-sdk1.0dev instead of javafx-sdk1.0pre1/docs/
Comment 3 Oleg Barbashov 2008-09-18 19:46:57 UTC
Can't reproduce on current build.
Comment 4 Oleg Barbashov 2008-09-19 16:34:43 UTC
See above.
Comment 5 Alexandr Scherbatiy 2008-09-25 11:58:16 UTC
verified in 2008-09-25_02-01-58.zip
Comment 6 David Strupl 2011-10-19 12:04:34 UTC
Cleaning bugzilla categories ....