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.
Summary: | File > Import/Export Project > From/To ZIP | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Generic Projects UI | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, ilia |
Priority: | P3 | Keywords: | PLAN, UI |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Suggested patch |
Description
Jesse Glick
2011-12-01 13:08:53 UTC
Implemented 1-3, and a brief note for 4. Skipping 5. core-main #3e606e6d59a2 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3e606e6d59a2 User: Jesse Glick <jglick@netbeans.org> Log: #205771: File > Import/Export Project > From/To ZIP. Created attachment 155695 [details]
Suggested patch
Hi, If user selects a full remote C++ project [1] and tries to export it to ZIP -- exception occurs (see bug [2]). That happens, because FileUtil.toFile(FileObject) returns null for remote fileobjects. Is it possible to apply a suggested patch? At least where will be no exception for now. [1] https://netbeans.org/kb/docs/cnd/remote-modes.html#gmvfz [2] https://netbeans.org/bugzilla/show_bug.cgi?id=217980 Suggested patch: * show an error in the status line instead of throwing NPE Thanks |