java.io.IOException: T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y .

Oracle Community | user8607755 | 2 years ago
  1. 0

    SQLCL 4.2.0.15.121.1046 on Windows 7 with Java 1.8.0_40.b25 crashes when I type the up arrow to try to recall from the history.

    Oracle Community | 2 years ago | user8607755
    java.io.IOException: T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y .
  2. 0

    Trying to run basic logback example with Jansi support; it fails because the Win32 call to GetConsoleScreenBufferInfo returns 0. MSDN docs state: "If the function fails, the return value is zero. To get extended error information, call GetLastError." The logged call to GetLastError returns "T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y ." Odd. 22:04:25,922 |-INFO in ch.qos.logback.core.ConsoleAppender[STDOUT] - Enabling JANSI WindowsAnsiOutputStream for the console. 22:04:25,944 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - Failed to create WindowsAnsiOutputStream. Falling back on the default stream. ch. qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:74) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:42) at at ch.qos.logback.core.ConsoleAppender.getTargetStreamForWindows(ConsoleAppender.java:94) at at ch.qos.logback.core.ConsoleAppender.start(ConsoleAppender.java:85) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281) at at blah.AnsiTest.<clinit>(AnsiTest.java:7) at at blah.AnsiTestTest.testIt(AnsiTestTest.java:13) at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at at java.lang.reflect.Method.invoke(Method.java:597) at at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115) at at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at at java.lang.reflect.Method.invoke(Method.java:597) at at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at at $Proxy0.invoke(Unknown Source) at at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: java.lang.reflect.InvocationTargetException at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:69) at ... 52 common frames omitted Caused by: java.io.IOException: Could not get the screen info: T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y . at at org.fusesource.jansi.WindowsAnsiOutputStream.getConsoleInfo(WindowsAnsiOutputStream.java:104) at at org.fusesource.jansi.WindowsAnsiOutputStream.<init>(WindowsAnsiOutputStream.java:97) at ... 57 common frames omitted

    QOS.ch JIRA | 4 years ago | Bob Walker
    ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream
  3. 0

    Glassfish 4 with SLF4J - Colored Console Output using Jansi

    Stack Overflow | 3 years ago | JDC
    java.io.IOException: Could not get the screen info: T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y .
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 73#263814340

    GitHub | 1 week ago | swimmesberger
    java.io.IOException: Could not get the screen info: T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y .
  6. 0

    GitHub comment 9#98689374

    GitHub | 2 years ago | kilemensi
    ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      T h e o p e r a t i o n c o m p l e t e d s u c c e s s f u l l y .

      at org.fusesource.jansi.WindowsAnsiOutputStream.applyCursorPosition()
    2. SBT
      AnsiOutputStream.write
      1. org.fusesource.jansi.WindowsAnsiOutputStream.applyCursorPosition(WindowsAnsiOutputStream.java:134)
      2. org.fusesource.jansi.WindowsAnsiOutputStream.processCursorDown(WindowsAnsiOutputStream.java:204)
      3. org.fusesource.jansi.AnsiOutputStream.processEscapeCommand(AnsiOutputStream.java:228)
      4. org.fusesource.jansi.AnsiOutputStream.write(AnsiOutputStream.java:125)
      4 frames
    3. Java RT
      OutputStreamWriter.flush
      1. java.io.FilterOutputStream.write(Unknown Source)
      2. sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
      3. sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
      4. sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
      5. sun.nio.cs.StreamEncoder.flush(Unknown Source)
      6. java.io.OutputStreamWriter.flush(Unknown Source)
      6 frames
    4. oracle.dbtools.raptor
      SqlCli.main
      1. oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.resetCurrentCursorLine(DbtoolsConsoleReader.java:4377)
      2. oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.redrawBuffer(DbtoolsConsoleReader.java:4333)
      3. oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.moveHistory(DbtoolsConsoleReader.java:3687)
      4. oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.readLine(DbtoolsConsoleReader.java:2967)
      5. oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.readLine(DbtoolsConsoleReader.java:2508)
      6. oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startSQLPlus(SqlCli.java:592)
      7. oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:297)
      7 frames