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

Exception: Call to a member function getLocalFile() on null #18

Open
mehdibo opened this issue Mar 1, 2021 · 4 comments
Open

Exception: Call to a member function getLocalFile() on null #18

mehdibo opened this issue Mar 1, 2021 · 4 comments

Comments

@mehdibo
Copy link

mehdibo commented Mar 1, 2021

When printing, I get the following error in the logs:

Exception: Call to a member function getLocalFile() on null at lib/private/AppFramework/Http/Dispatcher.php line 159                                                                                               
 0. lib/private/AppFramework/App.php line 157
        OC\AppFramework\Http\Dispatcher->dispatch(OCA\Printer\Controller\PrinterController {}, "printfile")                                                                                                                                        
 1. lib/private/Route/Router.php line 302
        OC\AppFramework\App::main("OCA\\Printer\\Controller\\PrinterController", "printfile", OC\AppFramework\DependencyInjection\DIContainer {}, {_route:"printer.printer.printfile"})                                                            
 2. lib/base.php line 993
        OC\Route\Router->match("\/apps\/printer\/printfile")                                                                                                                                                                                       
 3. index.php line 37
         OC::handleRequest()

Caused by Error: Call to a member function getLocalFile() on null at lib/private/Files/Filesystem.php line 557
 0. custom_apps/printer/lib/Controller/PrinterController.php line 31
         OC\Files\Filesystem::getLocalFile("REDACTED_FILENAME")
 1. lib/private/AppFramework/Http/Dispatcher.php line 218
         OCA\Printer\Controller\PrinterController->printfile("REDACTED_FILENAME", "landscape")
 2. lib/private/AppFramework/Http/Dispatcher.php line 127
         OC\AppFramework\Http\Dispatcher->executeController(OCA\Printer\Controller\PrinterController {}, "printfile")
 3. lib/private/AppFramework/App.php line 157
         OC\AppFramework\Http\Dispatcher->dispatch(OCA\Printer\Controller\PrinterController {}, "printfile")
 4. lib/private/Route/Router.php line 302
         OC\AppFramework\App::main("OCA\\Printer\\Controller\\PrinterController", "printfile", OC\AppFramework\DependencyInjection\DIContainer {}, {_route:"printer.printer.printfile"})
 5. lib/base.php line 993
         OC\Route\Router->match("\/apps\/printer\/printfile")
 6. index.php line 37
         OC::handleRequest()

And it just keeps spinning

@farrad farrad mentioned this issue Apr 12, 2021
@RealKoenisch
Copy link

I can confirm the error with the actual Nextcloud 22.2.0.

@alghanim-lab
Copy link

I have same error with Nextcoud version 22.2.2.0

@alemairebe
Copy link

still there on Nextcloud 24

@FadeFx
Copy link

FadeFx commented Sep 23, 2023

Too bad, seems that app is abandoned.

@e-alfred is there a chance we get this fixed at some point?

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

5 participants