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

runtime error: invalid memory address or nil pointer dereference #6

Open
sidey79 opened this issue Nov 17, 2024 · 1 comment
Open

Comments

@sidey79
Copy link

sidey79 commented Nov 17, 2024

I've started the container and pointed it to the output dirctory, but it crashes:

2024-11-17T21:33:55.203838889Z time="2024-11-17T21:33:55Z" level=info msg="Start watching: /output"
2024-11-17T21:35:12.703855921Z time="2024-11-17T21:35:12Z" level=info msg="New file to upload:/output/pl_scan_2024-11-17 21.35.04.pdf"
2024-11-17T21:35:12.711801367Z panic: runtime error: invalid memory address or nil pointer dereference
2024-11-17T21:35:12.711863858Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x62fc2f]
2024-11-17T21:35:12.711886032Z 
2024-11-17T21:35:12.711905848Z goroutine 7 [running]:
2024-11-17T21:35:12.711929241Z main.uploadFile({0xc000120150, 0x27}, {0xc00001c036, 0x28}, {0xc00001c008, 0x28})
2024-11-17T21:35:12.711974592Z 	/go/src/github.com/Celedhrim/scantopl/scantopl.go:62 +0x26f
2024-11-17T21:35:12.712275125Z main.main.func1()
2024-11-17T21:35:12.712310093Z 	/go/src/github.com/Celedhrim/scantopl/scantopl.go:119 +0x27d
2024-11-17T21:35:12.712331177Z created by main.main
2024-11-17T21:35:12.712349777Z 	/go/src/github.com/Celedhrim/scantopl/scantopl.go:107 +0x38
@sidey79
Copy link
Author

sidey79 commented Nov 23, 2024

Any idea, what i can do to fix that?

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

No branches or pull requests

1 participant