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 180906

Summary: Output save as failed: "Writing to file nullnull failed"
Product: platform Reporter: emi <emi>
Component: Output WindowAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED FIXED    
Severity: normal CC: jkovalsky
Priority: P3 Keywords: NETFIX
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch which fixes the issue

Description emi 2010-02-18 06:45:41 UTC
Hy,

1. Try to save the contents of the output window (with command+S or from the menu)

2. See the "Save output as" window. Press cancel

3. See an error dialog with the title "Save as failed" and text "Writing to file nullnull failed". Normally this dialog shouldn't show up at all (as well as any attempt to write to any file)


Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)
Comment 1 emi 2010-09-28 14:24:55 UTC
Created attachment 102179 [details]
Patch which fixes the issue
Comment 2 emi 2010-09-28 14:27:43 UTC
Jiri, could you please apply my patch to the trunk or forward it to somehow who takes care of the core.output2 module ?

It's a really small bug, but annoying to see it on OSX.
Comment 3 Jiri Kovalsky 2010-09-29 12:42:46 UTC
Tondo, can you please review and apply this patch if you find no problems? Thanks a lot!
Comment 4 Antonin Nebuzelsky 2010-09-30 11:17:52 UTC
Thanks for the patch. I could not verify it, but it looks correct to me. Applied...

core-main #8fdfef853428
Comment 5 emi 2010-09-30 11:20:46 UTC
This bug only happens on OSX, you would need a Mac to verify it.

Thanks for applying the patch.
Comment 6 Jiri Kovalsky 2010-09-30 12:00:44 UTC
Great, thanks Emilian for the patch and thanks Tondo for applying it!
Comment 7 Quality Engineering 2010-10-01 03:10:37 UTC
Integrated into 'main-golden', will be available in build *201010010000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8fdfef853428
User: Antonin Nebuzelsky <anebuzelsky@netbeans.org>
Log: #180906 - emi's patch of Output save as failed: "Writing to file nullnull failed"