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 149027 - [65cat]java.lang.NullPointerException
Summary: [65cat]java.lang.NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on: 171914
Blocks:
  Show dependency tree
 
Reported: 2008-10-03 08:32 UTC by rajivderas
Modified: 2009-10-27 16:46 UTC (History)
1 user (show)

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 rajivderas 2008-10-03 08:32:58 UTC
Steps to Reproduce:
1) Create the available Calculator Sample WebService project
2) In the CalculatorApp project right click on the WS file available in the Web Services folder and select Edit Web 
Service Attributes
3) In the new poped up dialog just click cancel

----------------------------------------------------------
Product Version: NetBeans IDE Dev (Build 200810011401)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\Rajiv Perera\.netbeans\dev

---------- stack trace -----------------------------------
java.lang.NullPointerException
	at org.openide.filesystems.FileUtil.canBeCanonicalizedOnWindows(FileUtil.java:1494)
	at org.openide.filesystems.FileUtil.normalizeFileOnWindows(FileUtil.java:1462)
	at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1369)
	at 
org.netbeans.modules.j2ee.deployment.devmodules.spi.ArtifactListener$Artifact.forFile(ArtifactListener.java:72)
	at 
org.netbeans.modules.web.project.WebProject$CopyOnSaveSupport.handleDeleteFileInDestDir(WebProject.java:1542)
	at org.netbeans.modules.web.project.WebProject$CopyOnSaveSupport.fileDeleted(WebProject.java:1505)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:139)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:122)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:99)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:953)
	at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:203)
	at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:177)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:122)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:502)
	at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:270)
	at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:869)
	at org.openide.loaders.DataObject.delete(DataObject.java:606)
	at org.netbeans.modules.websvc.wsitconf.WSITEditor.cancel(WSITEditor.java:313)
	at 
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl.openEditor(EditWSAttributesCookieImpl.java
:133)
	at 
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl.access$000(EditWSAttributesCookieImpl.java
:80)
[catch] at 
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:94)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Martin Grebac 2008-10-03 11:18:53 UTC
This is a regression caused by Deploy On Save feature. If there's anything to be done differently on websvc side, please
reassign with evaluation.
Comment 2 Petr Hejl 2009-09-10 12:59:01 UTC
I believe this was fixed. Can't verify now due to issue 171914.
Comment 3 Petr Hejl 2009-10-27 16:46:53 UTC
Fixed.