Skip to content
New issue

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

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

Already on GitHub? # to your account

RuntimeException: App class OCA\Notes\Application is not setup via query() but directly #524

Closed
jancborchardt opened this issue May 30, 2020 · 2 comments · Fixed by #526
Closed
Labels
bug Something isn't working maintenance Software maintenance, e.g. refactoring, improve code quality, documentation etc.
Milestone

Comments

@jancborchardt
Copy link
Member

This error is getting spammed in the logs at a very high frequency.

I tried the same fix as for Maps, ref nextcloud/maps#384 but it didn’t work. @korelstar I’m sure you know what to do. :) There’s also further pointers in the issue as Calendar had a similar problem.

[notes] Error: RuntimeException: App class OCA\Notes\Application is not setup via query() but directly at <<closure>>

0. /home/jan/nextcloud/apps/notes/lib/Application.php line 12
   OCP\AppFramework\App->__construct("notes", [])
1. /home/jan/nextcloud/apps/notes/appinfo/app.php line 3
   OCA\Notes\Application->__construct()
2. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 272
   require_once("/home/jan/nextc ... p")
3. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 155
   OC_App::requireAppFile("notes")
4. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 128
   OC_App::loadApp("notes")
5. /home/jan/nextcloud/lib/base.php line 993
   OC_App::loadApps()
6. /home/jan/nextcloud/index.php line 37
   OC::handleRequest()

GET /nextcloud/index.php/apps/logreader/poll?lastReqId=vsC4lkLBioYFgOnlmoZx
from 127.0.0.1 by jan at 2020-05-30T13:33:58+00:00
@jancborchardt jancborchardt added bug Something isn't working maintenance Software maintenance, e.g. refactoring, improve code quality, documentation etc. labels May 30, 2020
@korelstar
Copy link
Member

Thanks for reporting this issue. I will adopt the changes from the other apps, but I can't reproduce the issue. Which server version do you use?

@jancborchardt
Copy link
Member Author

jancborchardt commented May 31, 2020

Which server version do you use?

Latest master – will check if the pull request fixes it. :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working maintenance Software maintenance, e.g. refactoring, improve code quality, documentation etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants