Skip to content

File shared with federation does not open - "Call to a member function getUID() on null in file" #85

Open
@Uatschitchun

Description

@Uatschitchun

2 NC instances, both 29.0.7, set up as trusted federation shares.
Opening and editing office documents with collabora works fine. Even so shared .md files.

When trying to open a shared .drawio file I get:

{"reqId":"ZwV2nlESlB36spBPnygZtAAAAMk",
"level":3,"time":"2024-10-08T18:14:55+00:00",
"remoteAddr":"88.78.112.111",
"user":"ANON",
"app":"index",
"method":"GET",
"url":"/apps/drawio/ajax/load?fileId=18043&shareToken=",
"message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 284",
"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0",
"version":"29.0.7.1",
"exception":{"Exception":"Exception",
"Message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 284",
"Code":0,"Trace":[{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/App.php",
"line":184,"function":"dispatch",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"load"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/Route/Router.php",
"line":331,"function":"main",
"class":"OC\\AppFramework\\App",
"type":"::",
"args":["OCA\\Drawio\\Controller\\EditorController",
"load",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["drawio.editor.load"]]},{"file":"/var/www/virtual/MYSERVER/html/lib/base.php",
"line":1058,"function":"match",
"class":"OC\\Route\\Router",
"type":"->",
"args":["/apps/drawio/ajax/load"]},{"file":"/var/www/virtual/MYSERVER/html/index.php",
"line":49,"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]}],"File":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"Line":170,"Previous":{"Exception":"Error",
"Message":"Call to a member function getUID() on null",
"Code":0,"Trace":[{"file":"/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php",
"line":245,"function":"loadInternal",
"class":"OCA\\Drawio\\Controller\\EditorController",
"type":"->",
"args":[18043,"",false]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"line":232,"function":"load",
"class":"OCA\\Drawio\\Controller\\EditorController",
"type":"->",
"args":["18043",
""]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"line":138,"function":"executeController",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"load"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/App.php",
"line":184,"function":"dispatch",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"load"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/Route/Router.php",
"line":331,"function":"main",
"class":"OC\\AppFramework\\App",
"type":"::",
"args":["OCA\\Drawio\\Controller\\EditorController",
"load",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["drawio.editor.load"]]},{"file":"/var/www/virtual/MYSERVER/html/lib/base.php",
"line":1058,"function":"match",
"class":"OC\\Route\\Router",
"type":"->",
"args":["/apps/drawio/ajax/load"]},{"file":"/var/www/virtual/MYSERVER/html/index.php",
"line":49,"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]}],"File":"/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php",
"Line":284},"message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 284",
"exception":{},"CustomMessage":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 284"}}

{"reqId":"ZwV2pBma3gT3sarxA0q-jgAAAA4",
"level":3,"time":"2024-10-08T18:15:00+00:00",
"remoteAddr":"88.78.112.111",
"user":"ANON",
"app":"index",
"method":"GET",
"url":"/apps/drawio/ajax/getFileInfo?fileId=18043&shareToken=",
"message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 357",
"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 OPR/114.0.0.0",
"version":"29.0.7.1",
"exception":{"Exception":"Exception",
"Message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 357",
"Code":0,"Trace":[{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/App.php",
"line":184,"function":"dispatch",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"getFileInfo"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/Route/Router.php",
"line":331,"function":"main",
"class":"OC\\AppFramework\\App",
"type":"::",
"args":["OCA\\Drawio\\Controller\\EditorController",
"getFileInfo",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["drawio.editor.getfileinfo"]]},{"file":"/var/www/virtual/MYSERVER/html/lib/base.php",
"line":1058,"function":"match",
"class":"OC\\Route\\Router",
"type":"->",
"args":["/apps/drawio/ajax/getFileInfo"]},{"file":"/var/www/virtual/MYSERVER/html/index.php",
"line":49,"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]}],"File":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"Line":170,"Previous":{"Exception":"Error",
"Message":"Call to a member function getUID() on null",
"Code":0,"Trace":[{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"line":232,"function":"getFileInfo",
"class":"OCA\\Drawio\\Controller\\EditorController",
"type":"->",
"args":["18043",
""]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/Http/Dispatcher.php",
"line":138,"function":"executeController",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"getFileInfo"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/AppFramework/App.php",
"line":184,"function":"dispatch",
"class":"OC\\AppFramework\\Http\\Dispatcher",
"type":"->",
"args":[["OCA\\Drawio\\Controller\\EditorController"],"getFileInfo"]},{"file":"/var/www/virtual/MYSERVER/html/lib/private/Route/Router.php",
"line":331,"function":"main",
"class":"OC\\AppFramework\\App",
"type":"::",
"args":["OCA\\Drawio\\Controller\\EditorController",
"getFileInfo",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["drawio.editor.getfileinfo"]]},{"file":"/var/www/virtual/MYSERVER/html/lib/base.php",
"line":1058,"function":"match",
"class":"OC\\Route\\Router",
"type":"->",
"args":["/apps/drawio/ajax/getFileInfo"]},{"file":"/var/www/virtual/MYSERVER/html/index.php",
"line":49,"function":"handleRequest",
"class":"OC",
"type":"::",
"args":[]}],"File":"/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php",
"Line":357},"message":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 357",
"exception":{},"CustomMessage":"Call to a member function getUID() on null in file '/var/www/virtual/MYSERVER/html/apps/drawio/lib/Controller/EditorController.php' line 357"}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions