Coder Social home page Coder Social logo

logwebconfig's People

Contributors

sfuhrm avatar

Stargazers

 avatar

Watchers

 avatar  avatar

logwebconfig's Issues

Analyse broken pipe in response sending

Fix non-critical broken pipe in TCP stream which shows with

curl -d DEBUG -X GET  http://localhost:54321/log4j2//level

Might be that this is linked to the extra HTTP body (-d DEBUG) sent.

NanoHTTPD$Response send
SCHWERWIEGEND: Could not send response to the client
java.net.SocketException: Datenübergabe unterbrochen (broken pipe) (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
	at fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1480)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1453)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1443)
	at fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1429)
	at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:871)
	at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:189)
	at java.lang.Thread.run(Thread.java:748)

It's a little annoying that the error is displayed, but it's not a functional deficit.

PowerMockito tests break on JDK 9+

Tests with mocking break with

Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

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.