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

error while creating an application java core(GCI 2019) #9

Open
pranayjoshi opened this issue Jan 22, 2020 · 0 comments
Open

error while creating an application java core(GCI 2019) #9

pranayjoshi opened this issue Jan 22, 2020 · 0 comments

Comments

@pranayjoshi
Copy link
Contributor

While creating an application when I am importing java core and just creating a new instance it is showing some Illegal access warning
Actual Error:-

15:46:59.557 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
15:46:59.578 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
15:46:59.580 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0 (file:/C:/Users/prana/Downloads/java-core-0.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
15:46:59.597 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: unavailable
15:46:59.597 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
15:46:59.598 [main] DEBUG i.n.util.internal.PlatformDependent - Platform: Windows
15:46:59.598 [main] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
15:46:59.598 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
15:46:59.598 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: unavailable
15:46:59.651 [main] DEBUG i.n.util.internal.PlatformDependent - maxDirectMemory: 2101346304 bytes (maybe)
15:46:59.651 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
15:46:59.778 [main] DEBUG i.n.util.internal.PlatformDependent - Javassist: available
15:46:59.779 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\prana\AppData\Local\Temp (java.io.tmpdir)
15:46:59.779 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
15:46:59.779 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: true
15:46:59.779 [main] INFO  i.n.util.internal.PlatformDependent - Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.
15:46:59.781 [main] DEBUG i.n.util.internal.PlatformDependent - io.netty.maxDirectMemory: -1 bytes
15:47:00.560 [main] DEBUG io.netty.handler.ssl.JdkSslContext - Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1] 
15:47:00.560 [main] DEBUG io.netty.handler.ssl.JdkSslContext - Default cipher suites (JDK): [TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA]
15:47:00.590 [main] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 8
15:47:00.602 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
15:47:00.602 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
15:47:00.655 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
15:47:00.656 [main] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
15:47:00.755 [main] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true
15:47:00.796 [main] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x85bbec470791b268 (took 0 ms)
15:47:00.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
15:47:00.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
15:47:00.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
15:47:00.873 [AsyncHttpClient-2-1] DEBUG i.n.u.i.JavassistTypeParameterMatcherGenerator - Generated: io.netty.util.internal.__matchers__.io.netty.handler.codec.http.HttpObjectMatcher
15:47:01.147 [AsyncHttpClient-2-1] DEBUG o.a.n.channel.NettyConnectListener - Using new Channel '[id: 0xa93c4e75, L:/192.168.43.164:57537 - R:istsos.org/195.176.186.100:80]' for 'GET' to '/istsos/wa/istsos/services'
15:47:01.156 [AsyncHttpClient-2-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144
15:47:01.156 [AsyncHttpClient-2-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16
15:47:01.763 [AsyncHttpClient-2-1] DEBUG o.a.netty.handler.HttpHandler - 

Request DefaultFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(freed))
GET /istsos/wa/istsos/services HTTP/1.1
Host: istsos.org
Accept: */*
User-Agent: AHC/2.0

Response DefaultHttpResponse(decodeResult: success, version: HTTP/1.1)
HTTP/1.1 200 OK
Date: Wed, 22 Jan 2020 10:17:01 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 1702
Content-Type: application/json; charset=utf-8
Via: 1.1 www.istsos.org
Access-Control-Allow-Origin: *
Accept-Ranges: bytes
Access-Control-Allow-Methods: GET
Vary: Accept-Encoding

15:47:01.771 [AsyncHttpClient-2-1] DEBUG o.a.netty.channel.ChannelManager - Adding key: http://istsos.org:80 for channel [id: 0xa93c4e75, L:/192.168.43.164:57537 - R:istsos.org/195.176.186.100:80]
15:47:01.784 [AsyncHttpClient-2-1] DEBUG o.a.netty.handler.HttpHandler - null
java.lang.NullPointerException: null
	at org.asynchttpclient.netty.NettyResponseFuture.done(NettyResponseFuture.java:228) ~[java-core-0.1.jar:0.1]
	at org.asynchttpclient.netty.handler.HttpHandler.finishUpdate(HttpHandler.java:58) ~[java-core-0.1.jar:0.1]
	at org.asynchttpclient.netty.handler.HttpHandler.handleChunk(HttpHandler.java:159) ~[java-core-0.1.jar:0.1]
	at org.asynchttpclient.netty.handler.HttpHandler.handleRead(HttpHandler.java:189) ~[java-core-0.1.jar:0.1]
	at org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:82) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321) ~[java-core-0.1.jar:0.1]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:428) ~[java-core-0.1.jar:0.1]
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) ~[java-core-0.1.jar:0.1]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:243) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1280) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:890) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:564) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:505) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:419) ~[java-core-0.1.jar:0.1]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:391) ~[java-core-0.1.jar:0.1]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) ~[java-core-0.1.jar:0.1]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145) ~[java-core-0.1.jar:0.1]
	at java.base/java.lang.Thread.run(Thread.java:835) ~[na:na]
15:47:19.237 [AsyncHttpClient-2-1] DEBUG o.a.netty.handler.HttpHandler - Channel Closed: [id: 0xa93c4e75, L:/192.168.43.164:57537 ! R:istsos.org/195.176.186.100:80] with attribute INSTANCE

19:45:16.312 [pool-1-thread-1] DEBUG o.a.netty.channel.DefaultChannelPool - Closed 0 connections out of 0 in 0ms
19:46:16.414 [pool-1-thread-1] DEBUG o.a.netty.channel.DefaultChannelPool - Entry count for : http://istsos.org:80 : 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant