Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trace exception when deleting physical files #168

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Conversation

ThePrez
Copy link
Member

@ThePrez ThePrez commented Mar 22, 2024

When deleting physical files (in particular those created with CRTPF, an unexpected failure may occur. Exception data in traces may resemble the following:

Received zero matches from listDirectoryDetails() against parent of /qsys.lib/abc.lib/MYFILE.FIL*
java.lang.Throwable
    at com.ibm.as400.access.Trace.logData(Trace.java:767)
    at com.ibm.as400.access.Trace.log(Trace.java:827)
    at com.ibm.as400.access.IFSFileImplRemote.isSymbolicLink(IFSFileImplRemote.java:1865)
    at com.ibm.as400.access.IFSFileImplRemote.delete(IFSFileImplRemote.java:516)
    at com.ibm.as400.access.IFSFile.delete0(IFSFile.java:851)
    at com.ibm.as400.access.IFSFile.delete(IFSFile.java:898)

ThePrez added 3 commits March 22, 2024 11:29
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
Signed-off-by: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com>
@ThePrez ThePrez merged commit 0d7f709 into main Mar 29, 2024
2 checks passed
@ThePrez ThePrez deleted the fix/crtpfifsfile branch March 29, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant