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 127322 - java.io.FileNotFoundException: Could not connect to URL nbresloc:/com/im/ijc/branding/ijc-help.xml. No such resource was found.
Summary: java.io.FileNotFoundException: Could not connect to URL nbresloc:/com/im/ijc/...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmichalsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 16:08 UTC by pzajac
Modified: 2009-07-21 07:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 27103


Attachments
stacktrace (1.77 KB, text/plain)
2008-02-13 16:09 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2008-02-13 16:08:56 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03
OS: Linux, 2.6.20-16-generic, i386

User Comments:
Comment 1 pzajac 2008-02-13 16:09:16 UTC
Created attachment 56623 [details]
stacktrace
Comment 2 Jesse Glick 2008-02-20 00:26:54 UTC
Any way to reproduce?
Comment 3 Jesse Glick 2008-06-17 20:06:24 UTC
No more information given.
Comment 4 J Bachorik 2009-07-13 12:42:25 UTC
No idea whether these two issues are connected - however, the issue reporter bound my report with this issue ....

Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_14; Java HotSpot(TM) 64-Bit Server VM 14.0-b16
System: Linux version 2.6.27-14-generic running on amd64; UTF-8; en_US (nb)
Userdir: /tmp/jrd

Clean userdir.
1. Open "profiler" project (from NetBeans code base)
2. Let the scanning finnish
3. Click to open "Important Files/XML Layer/<this layer>/NBProfiler/Config" folder
4. Try to open any of the XML files present - all attempts end with an error with the following stacktrace

java.io.FileNotFoundException: /org/netbeans/modules/profiler/filtersets-default.xml (No such file or directory)
	at org.netbeans.modules.apisupport.project.layers.WritableXMLFileSystem.getContentsOf(WritableXMLFileSystem.java:299)
	at org.netbeans.modules.apisupport.project.layers.WritableXMLFileSystem.inputStream(WritableXMLFileSystem.java:327)
	at org.openide.filesystems.StreamPool.createInputStream(StreamPool.java:100)
	at org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:211)
	at org.openide.filesystems.MultiFileObject.getInputStream(MultiFileObject.java:597)
	at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:730)
	at org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:2036)
	at org.openide.text.CloneableEditorSupport.access$2800(CloneableEditorSupport.java:120)
	at org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:2872)
	at org.openide.text.CloneableEditorSupport$2.doRun(CloneableEditorSupport.java:642)
	at org.openide.text.CloneableEditorSupport$2.run(CloneableEditorSupport.java:611)
	at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:324)
	at org.openide.text.NbDocument.runAtomic(NbDocument.java:384)
	at org.openide.text.CloneableEditorSupport$2.doRun(CloneableEditorSupport.java:621)
	at org.openide.text.CloneableEditorSupport$2.run(CloneableEditorSupport.java:611)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
Comment 5 rmichalsky 2009-07-15 12:24:44 UTC
Yes, all the records report the same issue, finally reproducible with profiler project, thanks.
core-main #4030b01ed5f9
Comment 6 Quality Engineering 2009-07-21 07:19:40 UTC
Integrated into 'main-golden', will be available in build *200907210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4030b01ed5f9
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #127322: fixed external file URLs with nbres[loc]: protocol