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 237094 - Unable to "download" file from local disk
Summary: Unable to "download" file from local disk
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 10:42 UTC by faramir2
Modified: 2016-07-07 09:54 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 faramir2 2013-10-14 10:42:47 UTC
Product Version = NetBeans IDE 7.4 RC2 (Build 201309252201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0
Runtime = IBM J9 VM 2.6

Cannot import local WSDL file (but another one was working):

Problem with downloading wsdl or schema file.
Check the URL, proxy settings or whether the server is running.
URL: file:/C:/Users/mno/Desktop/FinancialData.wsdl.
Comment 1 Milan Kuchtiak 2013-10-14 11:54:13 UTC
Some kind of IOException must have been thrown.
Could you please attach the exception (IDE log) located in USER_HOME (.netbeans)/var/log. 

Are there all references, from FinancialData.wsdl, available ?
Comment 2 Milan Kuchtiak 2013-10-14 11:55:18 UTC
Or, if you could attach your wsdl file ?
Comment 3 faramir2 2013-10-14 12:17:31 UTC
OK. I saw that IDE wanted to copy file into one directory that was in use by another process (after deleting; I do many iterations of deleting/creating) and the message appear. When I killed the process, removed directory (find: ‘./xml-resources/web-service-references/FinancialData’: Permission denied) and restarted NetBeans, it started working. So the only issue is misleading message text.

The exception from message.log:

Caused: java.io.FileNotFoundException: Can't read <project>\xml-resources\web-service-references\FinancialData

	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:192)

[catch] at org.openide.loaders.DefaultDataObject.fixCookieSet(DefaultDataObject.java:262)

	at org.openide.loaders.DefaultDataObject.checkCookieSet(DefaultDataObject.java:221)

	at org.openide.loaders.MultiDataObject$ChangeAndBefore.beforeLookup(MultiDataObject.java:1455)

	at org.openide.nodes.CookieSetLkp.beforeLookupImpl(CookieSetLkp.java:146)

	at org.openide.nodes.CookieSet.getCookie(CookieSet.java:173)

	at org.openide.loaders.MultiDataObject.getCookie(MultiDataObject.java:953)

	at org.openide.loaders.DefaultDataObject.getCookie(DefaultDataObject.java:233)

	at org.openide.loaders.DefaultDataObject.getCookie(DefaultDataObject.java:214)

	at org.openide.loaders.DataNode.getCookie(DataNode.java:435)

	at org.openide.nodes.NodeLookup.addCookie(NodeLookup.java:100)

	at org.openide.nodes.NodeLookup.updateLookupAsCookiesAreChanged(NodeLookup.java:192)

	at org.openide.nodes.NodeLookup.beforeLookup(NodeLookup.java:163)

	at org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:427)

	at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:421)

	at org.openide.nodes.FilterNode$FilterLookup.lookup(FilterNode.java:2125)

	at org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.swap(PhysicalView.java:401)

	at org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.getIcon(PhysicalView.java:394)

	at org.openide.nodes.FilterNode.getIcon(FilterNode.java:557)

	at org.openide.explorer.view.VisualizerNode.getIcon(VisualizerNode.java:558)

	at org.openide.explorer.view.NodeRenderer.configureFrom(NodeRenderer.java:215)

	at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:147)

	at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2786)

	at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)

	at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:552)

	at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:198)

	at javax.swing.tree.AbstractLayoutCache.getPreferredWidth(AbstractLayoutCache.java:245)

	at javax.swing.plaf.basic.BasicTreeUI.updateCachedPreferredSize(BasicTreeUI.java:1882)

	at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1985)

	at javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1973)

	at javax.swing.JComponent.getPreferredSize(JComponent.java:1660)

	at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:790)

	at org.openide.explorer.view.TreeView$ExplorerScrollPaneLayout.layoutContainer(TreeView.java:1725)

	at java.awt.Container.layout(Container.java:1503)

	at java.awt.Container.doLayout(Container.java:1492)

	at java.awt.Container.validateTree(Container.java:1688)

	at java.awt.Container.validate(Container.java:1623)

	at org.openide.explorer.view.TreeView.access$101(TreeView.java:151)

	at org.openide.explorer.view.TreeView$3.run(TreeView.java:670)

	at org.openide.util.Mutex.readAccess(Mutex.java:372)

	at org.openide.util.Mutex$1R.run(Mutex.java:1314)

	at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1921)

	at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1333)

	at org.openide.util.Mutex.readAccess(Mutex.java:361)

	at org.openide.explorer.view.TreeView.validate(TreeView.java:667)

	at javax.swing.JViewport.validateView(JViewport.java:485)

	at javax.swing.JViewport.scrollRectToVisible(JViewport.java:396)

	at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3108)

	at org.openide.explorer.view.BeanTreeView.showPathWithoutExpansion(BeanTreeView.java:178)

	at org.openide.explorer.view.BeanTreeView.showPath(BeanTreeView.java:161)

	at org.netbeans.modules.project.ui.ProjectTab$ProjectTreeView.access$1800(ProjectTab.java:706)

	at org.netbeans.modules.project.ui.ProjectTab$ProjectTreeView$2.run(ProjectTab.java:781)

	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)

	at java.awt.EventQueue.access$200(EventQueue.java:103)

	at java.awt.EventQueue$3.run(EventQueue.java:694)

	at java.awt.EventQueue$3.run(EventQueue.java:692)

	at java.security.AccessController.doPrivileged(AccessController.java:300)

	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)

	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)

	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

ALL [null]: Cannot read file FinancialData in <project>\xml-resources\web-service-references.
Comment 4 Milan Kuchtiak 2013-10-14 12:22:42 UTC
Thanks.
Comment 5 Martin Balin 2016-07-07 09:54:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss