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: OCA\Deck\Controller\SessionController::close(): Argument #2 ($token) must be of type string, null given #5252

Closed
solracsf opened this issue Oct 31, 2023 · 1 comment
Labels

Comments

@solracsf
Copy link
Member

{
  "reqId": "GVeg9lrkOLwLTE5hGudZ",
  "level": 3,
  "time": "2023-10-30T08:31:56+01:00",
  "remoteAddr": "93.93.154.148",
  "user": "dvd",
  "app": "deck",
  "method": "POST",
  "url": "/ocs/v2.php/apps/deck/api/v1.0/session/close",
  "message": "OCA\\Deck\\Controller\\SessionController::close(): Argument #2 ($token) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230 in file '/var/www/nextcloud/apps/deck/lib/Controller/SessionController.php' line 86",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36",
  "version": "26.0.8.2",
  "exception": {
    "Exception": "Exception",
    "Message": "OCA\\Deck\\Controller\\SessionController::close(): Argument #2 ($token) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230 in file '/var/www/nextcloud/apps/deck/lib/Controller/SessionController.php' line 86",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 183,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          [
            "OCA\\Deck\\Controller\\SessionController"
          ],
          "close"
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 315,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OCA\\Deck\\Controller\\SessionController",
          "close",
          [
            "OC\\AppFramework\\DependencyInjection\\DIContainer"
          ],
          [
            "1.0",
            "ocs.deck.Session.close"
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/ocs/v1.php",
        "line": 64,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/ocsapp/apps/deck/api/v1.0/session/close"
        ]
      },
      {
        "file": "/var/www/nextcloud/ocs/v2.php",
        "line": 23,
        "args": [
          "/var/www/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
    "Line": 169,
    "Previous": {
      "Exception": "TypeError",
      "Message": "OCA\\Deck\\Controller\\SessionController::close(): Argument #2 ($token) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "close",
          "class": "OCA\\Deck\\Controller\\SessionController",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            [
              "OCA\\Deck\\Controller\\SessionController"
            ],
            "close"
          ]
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
          "line": 183,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            [
              "OCA\\Deck\\Controller\\SessionController"
            ],
            "close"
          ]
        },
        {
          "file": "/var/www/nextcloud/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Deck\\Controller\\SessionController",
            "close",
            [
              "OC\\AppFramework\\DependencyInjection\\DIContainer"
            ],
            [
              "1.0",
              "ocs.deck.Session.close"
            ]
          ]
        },
        {
          "file": "/var/www/nextcloud/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": [
            "/ocsapp/apps/deck/api/v1.0/session/close"
          ]
        },
        {
          "file": "/var/www/nextcloud/ocs/v2.php",
          "line": 23,
          "args": [
            "/var/www/nextcloud/ocs/v1.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/nextcloud/apps/deck/lib/Controller/SessionController.php",
      "Line": 86
    },
    "CustomMessage": "--"
  },
  "id": "6540b1d76f4d5"
}
@solracsf solracsf added the bug label Oct 31, 2023
@juliushaertl
Copy link
Member

juliushaertl commented Nov 16, 2023

fixed by #5284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants