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.
Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows Vista User Comments: revathskumar: On click on the CSS preview Stacktrace: java.lang.IllegalArgumentException: URI has an authority component at java.io.File.<init>(File.java:368) at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getFileObjects(FileBasedURLMapper.java:124) at org.netbeans.modules.masterfs.MasterURLMapper.getFileObjects(MasterURLMapper.java:65) at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:216) at org.netbeans.modules.web.flyingsaucer.CssPreviewPanel$PreviewUserAgent.resolveURI(CssPreviewPanel.java:372) at org.xhtmlrenderer.swing.NaiveUserAgent.getImageResource(NaiveUserAgent.java:155)
Created attachment 108160 [details] stacktrace
ALL [null]: URL=file://UBUNTU64MANGERE/webroot/HEROLD_IchBinDerHerold/dummy-4.5.0/fileadmin/templates/css/sliderkit-core.css SEVERE [org.openide.util.Exceptions] URL=file://UBUNTU64MANGERE/webroot/HEROLD_IchBinDerHerold/dummy-4.5.0/fileadmin/templates/css/sliderkit-core.css URL=file://UBUNTU64MANGERE/webroot/HEROLD_IchBinDerHerold/dummy-4.5.0/fileadmin/templates/css/sliderkit-core.css Caused: java.lang.IllegalArgumentException: URI has an authority component
*** Bug 198382 has been marked as a duplicate of this bug. ***
why Jardo the URLMapper.findFileObject(...) is not throwing some reasonable exceptions instead of logging them and returning null????
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=177816
Not a part of the 7.0.1 release -> NO701 keyword.
fixed in web-main/contrib#e453aec9de47 - the exception is just logged with INFO level. btw the module is not a part of standard distribution anymore.
verified Product Version: NetBeans IDE Dev (Build 201109260601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)