Bug 187384 - [archives] NPE after editing and saving in a newly created file in an archive
Summary: [archives] NPE after editing and saving in a newly created file in an archive
Status: CLOSED DUPLICATE of bug 194293
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kushal Munir CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 16:19 EDT by Xuan Chen CLA
Modified: 2007-07-15 23:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuan Chen CLA 2007-05-16 16:19:42 EDT
Right clicked on an zip file, chose New -> File to create a new file inside this zip file.
Then double clicked on this newly created file to bring it up in the editor.
Typed in something, and then saved.  After a while, got Error RSEF1002E: 
Operation failed.  File system input or output error.
Details: message reported from file system: java.lang.NullPointerException

Error entry in the .log file is the following:

!ENTRY org.eclipse.rse.ui 4 0 2007-05-16 16:16:14.935
!MESSAGE RSEF1002E: SUB#0:java.lang.NullPointerException

-----------Enter bugs above this line-----------
TM 2.0M7 Testing
installation : eclipse-platform-3.3M7 (I20070503-1400)
RSE install  : I20070515-1830.zip
java.runtime : Sun 1.5.0_06-b05
os.name:     : Windows XP 5.1, Service Pack 2
------------------------------------------------
systemtype   : local
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-05-17 15:55:03 EDT
Kushal should it work to edit files in archives or create them inside archives?
Does it work in RSE7?
Comment 2 Rupen Mardirossian CLA 2007-07-09 11:57:31 EDT
I was able to replicate this bug.  You need to create the file, open to modify, save it, then modify it again, and save it again and it should display the error above.
Comment 3 Xuan Chen CLA 2007-07-09 12:01:45 EDT

*** This bug has been marked as a duplicate of bug 194293 ***
Comment 4 Xuan Chen CLA 2007-07-15 23:25:14 EDT
Verified it in 0713 2.0.1 driver.