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 119140 - IOE appear in console when New File opens
Summary: IOE appear in console when New File opens
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 22:57 UTC by Lukas Hasik
Modified: 2008-12-01 14:30 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 Lukas Hasik 2007-10-16 22:57:39 UTC
10/16 mobility distro + updated with Mobility End to End 

-the cause of the IOE is probably a reference to xml/wsdl module from Web Services module
-the exception appears only in console and doesn't cause any trouble

INFO [org.netbeans.core.filesystems.MIMEResolverImpl]
java.io.IOException: Could not connect to URL
nbres:/org/netbeans/modules/xml/wsdl/ui/netbeans/module/resources/WSDL_import.template. No such resource was found.
	at
org.netbeans.core.startup.NbURLStreamHandlerFactory$NbResourceStreamHandler$Connection.connect(NbURLStreamHandlerFactory.java:237)
	at
org.netbeans.core.startup.NbURLStreamHandlerFactory$NbResourceStreamHandler$Connection.getInputStream(NbURLStreamHandlerFactory.java:292)
	at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:674)
Caused: java.io.FileNotFoundException
	at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:678)
	at org.openide.filesystems.MIMESupport$CachedFileObject.getInputStream(MIMESupport.java:284)
	at org.netbeans.core.filesystems.MIMEResolverImpl$Type.accept(MIMEResolverImpl.java:576)
	at org.netbeans.core.filesystems.MIMEResolverImpl$Type.access$1400(MIMEResolverImpl.java:457)
[catch] at org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.resolve(MIMEResolverImpl.java:424)
	at org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.access$100(MIMEResolverImpl.java:409)
	at org.netbeans.core.filesystems.MIMEResolverImpl$Impl.findMIMEType(MIMEResolverImpl.java:139)
	at org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:253)
	at org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:241)
	at org.openide.filesystems.MIMESupport.findMIMEType(MIMESupport.java:115)
	at org.openide.filesystems.FileUtil.getMIMETypeOrDefault(FileUtil.java:1000)
	at org.openide.filesystems.FileObject.getMIMEType(FileObject.java:489)
	at org.openide.filesystems.MultiFileObject.getMIMEType(MultiFileObject.java:573)
	at org.openide.filesystems.MultiFileObject.getMIMEType(MultiFileObject.java:573)
	at org.openide.loaders.ExtensionList.isRegistered(ExtensionList.java:167)
	at org.openide.loaders.UniFileLoader.findPrimaryFile(UniFileLoader.java:92)
	at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:353)
	at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:96)
	at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:158)
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:380)
	at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:415)
	at org.openide.loaders.FolderList.createBoth(FolderList.java:740)
	at org.openide.loaders.FolderList.access$700(FolderList.java:74)
	at org.openide.loaders.FolderList$2.run(FolderList.java:366)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Shivanand Kini 2007-10-17 00:41:38 UTC
does the mobility distro have xml1 modules?
where can I download the mobility distro?
Comment 2 Lukas Hasik 2007-10-17 19:29:43 UTC
No, mobility distro doesn't have xml1 modules. Neither Mobility nor updated with the "Mobility End to End".

You can get it from http://bits.netbeans.org/download/6.0/nightly/DATE/  . Download the "Mobility" NetBeans Pack.
To reproduce the exception you have to update it with Mobility End to End. Use "Tools > Plugin".
Comment 3 Shivanand Kini 2007-10-17 19:43:12 UTC
xml1 modules need to be packaged in the mobility pack, in order for this warning to go.
assigning to mobility.
Comment 4 Lukas Hasik 2007-10-17 20:09:39 UTC
skini, I don't see the point. Why the xml1 should bundled when it doesn't have anything to do with mobility? There mustr
be a wrong bundle used or wrong dependency between the modules. Reassigning back to xml.

This is valid user scenario. User can update IDE with whatever he wants. It is up to the modules to declare correctly
their dependencies and provide a functionality only when it can.
Comment 5 Shivanand Kini 2007-10-17 20:39:53 UTC
xml\wsdlui handles creation\editing of WSDL files and is part of the xml cluster.

websvc\core uses the creation\editing facilities of xml\wsdlui.

I will assign it to websvc module.

Comment 6 Milan Kuchtiak 2008-12-01 14:30:30 UTC
See the fix for issue 120535.