Giter Site home page Giter Site logo

Comments (2)

supercrafter100 avatar supercrafter100 commented on June 18, 2024

Can you please check your server logs for errors from the nameless plugin? And post those here?

from nameless.

RedCrafterHD avatar RedCrafterHD commented on June 18, 2024

Srry for the long wait, here:

16:14:12 [INFO] [RedCrafterHD] <-> ServerConnector [lobby] has connected
16:14:28 [WARNING] [NamelessMC] The website didn't return a valid json response. Run /nlpl last_error to retrieve the full stack trace.
16:15:02 [WARNING] [NamelessMC] com.namelessmc.plugin.lib.nameless-api.exception.NamelessException: Website returned invalid response with code 200.
Website response, after 219ms:
-----------------
ReportCreatedEvent::__construct(): Argument #1 ($username) must be of type string, null given, called in /var/www/homepage/core/classes/Misc/Report.php on line 62 in /var/www/homepage/modules/Core/classes/Events/ReportCreatedEvent.php on line 13
#0 /var/www/homepage/core/classes/Misc/Report.php(62): ReportCreatedEvent->__construct()
#1 /var/www/homepage/modules/Core/includes/endpoints/CreateReportEndpoint.php(83): Report::create()
#2 /var/www/homepage/core/classes/Endpoints/Endpoints.php(69): CreateReportEndpoint->execute()
#3 /var/www/homepage/modules/Core/classes/Misc/Nameless2API.php(52): Endpoints->handle()
#4 /var/www/homepage/modules/Core/pages/api/v2/index.php(23): Nameless2API->__construct()
#5 /var/www/homepage/index.php(133): require('...')
#6 {main}

	at com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:219)
	at com.namelessmc.plugin.lib.nameless-api.RequestHandler.post(RequestHandler.java:58)
	at com.namelessmc.plugin.lib.nameless-api.NamelessUser.createReport(NamelessUser.java:286)
	at com.namelessmc.plugin.common.command.ReportCommand.lambda$execute$0(ReportCommand.java:65)
	at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: com.namelessmc.plugin.lib.gson.JsonSyntaxException: com.namelessmc.plugin.lib.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 20 path $
	at com.namelessmc.plugin.lib.gson.JsonParser.parseReader(JsonParser.java:76)
	at com.namelessmc.plugin.lib.gson.JsonParser.parseString(JsonParser.java:51)
	at com.namelessmc.plugin.lib.nameless-api.RequestHandler.makeConnection(RequestHandler.java:187)
	... 7 more
Caused by: com.namelessmc.plugin.lib.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 20 path $
	at com.namelessmc.plugin.lib.gson.stream.JsonReader.syntaxError(JsonReader.java:1659)
	at com.namelessmc.plugin.lib.gson.stream.JsonReader.checkLenient(JsonReader.java:1465)
	at com.namelessmc.plugin.lib.gson.stream.JsonReader.doPeek(JsonReader.java:551)
	at com.namelessmc.plugin.lib.gson.stream.JsonReader.peek(JsonReader.java:433)
	at com.namelessmc.plugin.lib.gson.JsonParser.parseReader(JsonParser.java:71)
	... 9 more

from nameless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.