Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.2.1
-
None
Description
When starting our application a stacktrace is shown in java console windows,
Environment:
windows 10
Using JRE version 1.8.0_121-b13 Java HotSpot(TM) 64-Bit Server VM
Logback jars:
ch.qos.logback:logback-classic:jar:1.2.1
ch.qos.logback:logback-core:jar:1.2.1
org.slf4j:jcl-over-slf4j:jar:1.7.22
org.codehaus.janino:janino:jar:2.7.8
org.codehaus.janino:commons-compiler:jar:2.7.8
Java Web Start 11.121.2.13 amd64
Using JRE version 1.8.0_121-b13 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\clfo0002
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
CacheEntryfile://localhost/C:/temp/lib/expert.client.app-1.0-SNAPSHOT-application.jar: updateAvailable=false,lastModified=Fri Mar 17 14:36:41 CET 2017,length=69553117
14:39:40,319 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
14:39:40,319 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
14:39:40,319 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file://localhost/C:/temp/lib/expert.client.app-1.0-SNAPSHOT-application.jar!/logback.xml]
14:39:40,331 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@37f255ec - URL [jar:file://localhost/C:/temp/lib/expert.client.app-1.0-SNAPSHOT-application.jar!/logback.xml] is not of type file
14:39:40,442 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
14:39:40,443 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
14:39:40,446 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:39:40,449 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:39:40,456 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:39:40,483 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@11:16 - RuntimeException in Action for tag [appender] java.lang.ArrayIndexOutOfBoundsException: -1
at java.lang.ArrayIndexOutOfBoundsException: -1
at at com.sun.deploy.trace.TraceStream.write(Unknown Source)
at at java.io.PrintStream.write(Unknown Source)
at at java.io.FilterOutputStream.write(Unknown Source)
at at ch.qos.logback.core.joran.spi.ConsoleTarget$1.write(ConsoleTarget.java:37)
at at ch.qos.logback.core.OutputStreamAppender.writeBytes(OutputStreamAppender.java:199)
at at ch.qos.logback.core.OutputStreamAppender.encoderInit(OutputStreamAppender.java:181)
at at ch.qos.logback.core.OutputStreamAppender.setOutputStream(OutputStreamAppender.java:171)
at at ch.qos.logback.core.ConsoleAppender.start(ConsoleAppender.java:81)
at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
at at se.uhr.nya.expert.client.framework.swing.Settings.<clinit>(Settings.java:50)
at at se.uhr.nya.expert.client.app.ExpertClient.<init>(ExpertClient.java:129)
at at se.uhr.nya.expert.client.app.ExpertClient.main(ExpertClient.java:2843)
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at at java.lang.reflect.Method.invoke(Unknown Source)
at at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at at com.sun.javaws.Launcher.run(Unknown Source)
at at java.lang.Thread.run(Unknown Source)
14:39:40,581 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
14:39:40,584 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DEBUG_FILE]
14:39:40,586 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:39:40,587 |-INFO in ch.qos.logback.core.FileAppender[DEBUG_FILE] - File property is set to [C:\temp\nya\client_debug.log]
14:39:40,590 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [se.uhr.nya] to INFO
14:39:40,590 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DEBUG_FILE] to Logger[se.uhr.nya]
14:39:40,591 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [se.vhs.nya] to INFO
14:39:40,591 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DEBUG_FILE] to Logger[se.vhs.nya]
14:39:40,591 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO
14:39:40,591 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:39:40,591 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
14:39:40,592 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3030fdc4 - Registering current configuration as safe fallback point