Rare Null Write Glitch
-
… and you used save all or just save in this case?
Was there anything to save for the html file or was it not modified at that time.Btw. could you post the debug-info? (available under ? menu)
Cheers
Claudia -
@Samuel-Cool said:
I use the plugins Autosave and Autosave 2
Maybe it is Autosave’s fault…somehow…?
Saving right at the instant the user does…maybe an interaction?
Hmmm…
Just a thought… -
@Claudia-Frank Notepad++ v7.5.3 (32-bit)
Build time : Dec 5 2017 - 10:45:46
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (32-bit)
Plugins : AutoSave.dll autosave2.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dllI used save all, the html file likely hadn’t been modified recently.
By the way, this happened before updating, I think I was in 7.4. I think it’s worth noting that the 7.4.1 release log says “The opened zero length file not saving bug.” was found, possibly related.
-
@Scott-Sumner I didn’t have those plugins installed at the time.
-
Just to summarize what happened
Npp most likely version 7.4
Using no npp backup functionality and no plugins which do backup files at that time.
When pressing save all the entire current active file got erased, other files weren’t
affected although it might be that other files haven’t had any modification at that time.
Npp kept running - no crash or npp restart.Correct?
Cheers
Claudia -
@Claudia-Frank Correct.
-
@Claudia, just to confirm I encountered the same just two days ago. I still have NPP open as I am still trying to find a way to see if there is any chance to recover my files (2x).
I believe there are TWO issues here:
- npp sudden nulling / blanking of file(s) when there is nothing going on (was in the meeting, not using laptop at the time)
- backup mechanism not working
here is my debug-info:
Notepad++ v7.5.1 (64-bit)
Build time : Aug 29 2017 - 02:38:44
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : mimeTools.dll NppConverter.dllI had posted details info here:
https://notepad-plus-plus.org/community/topic/15112/attempt-to-recover-files-after-npp-blank-2-files-after-error-missed-the-error-msgps: @Allan, it is not a user’s fault
-
It seems to me that more people with “Local Conf mode : OFF”
are having this kind of trouble than the others. -
I assume this is because it is the default setting.
But who knows.So it seems there are three types of a similar issue.
- left file completely blank
- left file fill with null char
but both happened with a crash of npp beforehand and - left a file with blanks but npp kept running.
Cheers
Claudia -
See https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2883#issuecomment-360502864 might be interesting:
After a Notepad++ crash with nullified file(mostly after save the file), you can try to restart notepad++! by executing the .exe directly. It comes up with a message that ‘another program changed your nullified file’ and it will ask to reload the file. DON’t reload (it is nullified in the original map) but after give your answer (DON’t reload) Notepad++ comes up with the nullified file: magical is not? Somewhere in memory it is keep alive!!
Hopefully this saved other people some headaches!! It was for me.