nextcloud / nextcloud/files_mindmap
Stream of RuntimeExceptions reported in log - Application is not setup via query() but directly
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 197
- Forks
- 52
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 13
Description
RuntimeException: App class OCA\Files_MindMap\AppInfo\Application is not setup via query() but directly
/var/www/html/custom_apps/files_mindmap/lib/AppInfo/Application.php - line 12:
OCP\AppFramework\App->__construct("files_mindmap", [])
/var/www/html/custom_apps/files_mindmap/appinfo/app.php - line 31:
OCA\Files_MindMap\AppInfo\Application->__construct()
/var/www/html/lib/private/legacy/OC_App.php - line 304:
require_once("/var/www/ht ... p")
/var/www/html/lib/private/legacy/OC_App.php - line 186:
OC_App::requireAppFile("files_mindmap")
/var/www/html/lib/private/legacy/OC_App.php - line 140:
OC_App::loadApp("files_mindmap")
/var/www/html/lib/base.php - line 986:
OC_App::loadApps()
/var/www/html/index.php - line 36:
OC::handleRequest()

Same as https://github.com/pawelrojek/nextcloud-drawio/issues/132
See also
https://github.com/nextcloud/ocsms/issues/330
https://github.com/nextcloud/maps/issues/384
https://github.com/nextcloud/calendar/pull/1958
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lib/AppInfo/Application.php and appinfo/app.php, then trace the loading path shown through OC_App::requireAppFile and OC_App::loadApp. Compare the reported setup with the related nextcloud-drawio, ocsms, maps, and calendar references. Done means the reported RuntimeException no longer appears when files_mindmap is loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100