IBM Support

LO61100: NOTESSTREAM.OPEN THROWS ERROR "FILE DOES NOT EXIST" ONCE THE FILE GETS DELETED FROM LOCAL HARD DRIVE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Notesstream.open does not create a file in Domino 8.5.2
    if the file is deleted from the local drive through kill
    statement and throws error "File does not Exist"
    
    Steps to reproduce the issue:
    
    1.Create a sample database with blank template.
    2.Create an agent in the database with following code:
    
    Sub Initialize
     On Error GoTo oops
     Dim filepath As String
     filepath = "C:\temp\goodbye.txt"
     Dim session As New NotesSession
     Dim stream As NotesStream
     Set stream = session.CreateStream
     Dim attFileName As String
     attFileName = Dir$(filepath, 0)
     If Not attFileName = "" Then
      Kill filepath
     End If
     If Not stream.Open(filepath, "UTF-8") Then
      MessageBox filepath,, "Open failed"
      Exit Sub
     End If
     stream.WriteText "Hello!"
     Call stream.Close()
     Exit Sub
    oops:
     MsgBox "Error " & Err & " line " & Erl & ": " & Error
     Exit Sub
    
    End Sub
    
    3.Create a file goodbye.txt in location C:\temp.
    
    4.The code on execution throws an error "File Does Not Exist"
    at line  stream.open.
    

Local fix

Problem summary

  • This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# VNTR8H7AKJ.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO61100

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-25

  • Closed date

    2012-05-15

  • Last modified date

    2012-05-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R850 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 May 2012