sqlcl 4.1.0.15.106.1020 tnsping throws NULLPointerException

While playing with sqlcl 4.1.0.15.106.1020, I can reproduce this behavior:

berx$ ./sql /nolog


SQLcl: Release 4.1.0 Release Candidate on Thu Apr 16 22:05:22 2015


Copyright (c) 1982, 2015, Oracle.  All rights reserved.




SQL> tnsping
Apr 16, 2015 10:05:27 PM oracle.dbtools.raptor.newscriptrunner.ScriptExecutor run
SEVERE: oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.ping(PingCmd.java:69)
java.lang.NullPointerException
  at oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.ping(PingCmd.java:69)
  at oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.handleEvent(PingCmd.java:53)
  at oracle.dbtools.raptor.newscriptrunner.CommandRegistry.fireListeners(CommandRegistry.java:380)
  at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.run(ScriptRunner.java:197)
  at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:269)
  at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:180)
  at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.process(SqlCli.java:250)
  at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.processLine(SqlCli.java:257)
  at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startSQLPlus(SqlCli.java:682)
  at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:297)


SQL>

probably should say "you want to do a ping?"

My approx. is a MacBook with OSX 10.10.3

java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Yes, it's a bug

Tags: Database

Similar Questions

  • sqlcl 4.1.0.15.106.1020 LOADING ignores decimal marker

    Please see this unit test:

    I can only reproduce it on my Windows7 PC, but not on an environment Redhat 6 (same DB (12.1.0.2) and db-user):

    ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '. ' ;
    
    drop table MAMUE ;
    
    CREATE TABLE MAMUE
       (    SCODE VARCHAR2(54),
            "EDATE" DATE,
            "AMOUNT" NUMBER(21,3) NOT NULL ENABLE,
            "LDATE" DATE
       );
    
    Insert into MAMUE
       values ('ccc',
               to_timestamp('24.12.15','DD.MM.RR HH24:MI:SSXFF'),
               19/2,
               null
               );
    
    set sqlformat csv
    spool MAMUE.csv
    select * from MAMUE;
    spool off;
    rollback;
    
    

    the file Mamue.csv should look like this:

    "SCODE","EDATE","AMOUNT","LDATE"
    "ccc",24.12.15 00:00:00,9.5,
    

    Now I have load data and check the value:

    LOAD MAMUE MAMUE.csv
    
    SQL> select amount from mamue;
    
    "AMOUNT"
    95
    

    I expect 9.5 but got 95.

    As I can only reproduce on a single customer (but not another) I'm ready to dig into it, if someone can advise me?

    Martin

    This problem is fixed in sqlcl.4.1.0.15.177.0246 now.

    Thank you very much!

    Martin

  • sqlcl 4.1.0.15.106.1020 sqlformat insert SCHEMA not attempt schema. TABLE

    without schema name, I get a correct insert statement:

    set sqlformat insert
    select * from DUAL;
    

    REM INSERTING into DUAL

    SET DEFINE OFF;

    Insert into DUAL (DUMMY) values ('X');

    but

    set sqlformat insert
    select * from SYS.DUAL;
    

    REM INSERTING into SYS

    SET DEFINE OFF;

    Insert into SYS (DUMMY) values ('X');

    which doesn't really make sense?

    Martin

    Thanks for reporting this... reproduced and placed on listening.  This applies to both sqlcl and spreadsheet user interface.

  • sqlcl 4.1.0.15.106.1020 trimspool kills sqlformat csv

    with these simple commands

    set trimspool on
    
    set sqlformat csv
    
    spool dual.csv
    
    select * from dual;
    
    spool off;
    
    

    I get this stack trace:

    Apr 23, 2015 12:54:46 PM oracle.dbtools.raptor.newscriptrunner.ScriptExecutor run
    SEVERE: java.lang.System.arraycopy(Native Method)
    java.lang.ArrayIndexOutOfBoundsException
            at java.lang.System.arraycopy(Native Method)
            at oracle.dbtools.raptor.newscriptrunner.WrapListenBufferOutputStream.write(WrapListenBufferOutputStream.java:183)
            at oracle.dbtools.raptor.newscriptrunner.WrapListenBufferOutputStream.reallywrite(WrapListenBufferOutputStream.java:227)
            at oracle.dbtools.raptor.newscriptrunner.WrapListenBufferOutputStream.write(WrapListenBufferOutputStream.java:217)
            at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
            at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
            at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
            at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
            at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
            at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:566)
            at oracle.dbtools.db.ResultSetFormatter.formatResults(ResultSetFormatter.java:105)
            at oracle.dbtools.db.ResultSetFormatter.formatResults(ResultSetFormatter.java:61)
            at oracle.dbtools.raptor.newscriptrunner.SQL.processResultSet(SQL.java:494)
            at oracle.dbtools.raptor.newscriptrunner.SQL.executeQuery(SQL.java:418)
            at oracle.dbtools.raptor.newscriptrunner.SQL.run(SQL.java:56)
            at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.runSQL(ScriptRunner.java:294)
            at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.run(ScriptRunner.java:202)
            at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:269)
            at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:180)
            at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.process(SqlCli.java:250)
            at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.processLine(SqlCli.java:257)
            at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startSQLPlus(SqlCli.java:682)
            at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:297)
    
    

    can someone please reproduce?

    Thanks for reporting this... reproduced and placed on listening.

  • 12 Firefox just installed on MacBook Pro, OS x 106.8. FF looks great, seems faster too. BUT on the tab menu, the small triangle (to list the information on the tab) is missing;

    12 Firefox just installed on MacBook Pro, OS x 106.8. FF looks great, seems faster too. BUT on the tab menu, the small triangle (to list the information on the tab) is missing; I can't find a way to reinstall using view-> toolbars-> Customize option. Can you help me?

    You will see only the "List all tabs" button in Firefox 12 + if it has that many tabs open you get the scroll bar tab buttons appearing.

    Bug 714281 - show the tabs button only when tabs band overflows

  • HP pavilion hpe h8-1020: evga geforce gtx 950 in hp pavilion hpe h8-1020

    Hello guys I have a hp pavilion hpe h8-1020 and I am looking to upgrade to a nvidia gtx 950 is it compatibile, what I need to supply?

    Hello

    There is a unknown specification for your motherboard that will prevent you from installing a new 3.0 PCIe x 16 graphics card. Maps 3.0 is backward compatible with PCIe x 16 2.0 slots. Your motherboard may have a PCIe x 16 1.0 slot. None of these options below works on your PC if you have PCIe x 16 version 1.0

    The Radeon HD 6570, an option to purchase, is a PCIe x 16 card USB2.0. You can have a 2.0 slot. It is unclear when we look at the characteristics of HP for your PC.

    I got a HD 6570. You could not install drivers from AMD with the version of HP of this card. You need to use the HP drivers. It is possible that this card is not a 2.0 card even if the consumer version is a USB2.0 card. We can only guess.

    MSI is rolling out hybrid Nvidiacards soon. Try anything tangible yet seen. NVIDIA is slowly releasing the 1000 series cards that require less power. Maybe some OEM will also include hybrid versions that will work on your PC any time.

    The 900 series Nvidia graphics cards need the UEFI BIOS.

    Your PC has a legacy BIOS.

    You have a 300 Watt power supply. You will have to upgrade from food to run a card AMD and respect the strict minimum if you can install a TG 640 GDDR5 map.

    You may be able to install (you need a PCIe x 16 slot 2.0) Nvidia 600 series cards or watch hybrid of AMD cards by Sapphire.

    AMD cards are longer and require larger power supplies.

    You should check that you have the power and the room to install two graphics cards. The cards are also double slot. You will need to verify that you can install a card double slot. Even once, you need a PCIe x 16 slot on the motherboard 2.0.

    See you soon!

  • NX unsupported on the NB305-106 - cannot install Windows 10

    Hello
    I want to install Windows 10 on my netbook NB305-106, but I can't because the NX is not supported. How can I make NX taken care of?

    NX - Bit means "No eXecute" bit and it is a feature of CPU. It's important to be able requirement to install the system Windows 10 and as far as I know if the processor does not support the NX bit, Win 10 installation is not possible.

  • Issues of model libretto W100 - 106 (UK) - 3G, Windows 7, etc.

    Hello forum,.

    Just bought a brand-new W100-106 (old stock but sealed package, the latest version of the BIOS, etc.) and I have a few questions, I would like to ask if it's okay.

    Absolutely LOVE with this machine, but would like to know:

    1. is it possible at all that I can upgrade the machine so that the 3 G module sold in the W100 - 10 d on the continent (Italy and Germany only I think)?

    The commercial parts on support "Topaz" page shows me several modem boards if I search on "an a" 3 G and HSDPA. The one who does belong to the Libretto W100?

    I probably need a 'real' connection PCB rather than fake mounted in the W100-106. No idea what the part numbers are?

    2. the U5400 is a Core i3 processor derived with x 64 using the statement. The libretto W100 will run Windows 7 64 bit?

    3. is there any intention to support Windows 8 completely, i.e. some fix for metro applications requiring more than a screen resolution 1024 * 600, possibly combining two LCDs form office one? Any chance Microsoft will correct the problems for agent Windows 8 coming out later this year?

    Thank you very much in advance!

    > 1. Is there anything that I can upgrade the machine so that the 3G module sold in the W100 - 10 d on the continent (Italy and Germany only I think)?

    Well, maybe you can do it from the module 3G is a part removable miniPCI.
    AFAIK the W100 - 10 H was fitted with such module
    I found a compatible 3G F3607gw module part number: P000531030

    > 2. The U5400 is a Core i3 processor derived with x 64 using the statement. The libretto W100 will run Windows 7 64 bit?

    According to the Intel CPU support Ark page 64-bit instructions located so Win 64-bit should work
    http://Ark.Intel.com/products/49156/Intel-Pentium-processor-U5400

    > 3. Y at - he no intention of supporting Windows 8 completely, i.e. some fix for metro apps which need more screen resolution 1024 * 600, possibly by combining the two lcd, one desk shape computer screens? Any chance Microsoft will correct the problems for agent Windows 8 coming out later this year?

    I think this can be answered by Toshiba only and not by members of the community.
    But I think you should wait for Win 8 and need to check if the drivers would be available for this device

  • Re: Satellite P100-106 - how to pass the BIOS?

    Hello

    I'm trying to downgrade the BIOS on my P100-106 of 4.80 to the 3.30 original but I don't have a copy of it. No matter who or where it is available?

    (Please note I looked already http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/outFrm.jsp?ofId=AskIris&searchString=P100&x=0&y=0 and these BIOS are NOT for the P100-106)

    your

    Hey,.

    It seems that you have a European model for laptop and so you need to download all the drivers and tools of Toshiba's official website:
    http://EU.computers.Toshiba-Europe.com

    But it seems that he not there no old version available for your laptop BIOS because you can download the newest one.
    You must contact an authorized service provider and ask the guy if you have an older version of BIOS.

    But why you want to downgrade it?

  • Windows 8 on a Toshiba NB305-106?

    Hello

    Is it possible to put Windows 8 on a Toshiba NB305-106 (now, there is the version Windows 7 starter on it)?
    If it is possible (but I'm afraid it isn't), I have to do something before, so my mini is ready for it?
    Thanks for your response! :-)

    Sofie

    Post edited by: svdvd

    Well, I do not recommend to install Windows 8 but earn 8.1
    The hardware requirements is very similar (for the most part the same), but win 8 is passed. So there s no need to start by winning 8.

    To use the win (Win 8) 8.1 you need computer / laptop support:

    Processor: 1 gigahertz (GHz) or faster
    RAM: 1 gigabyte (GB) (32-bit) or 2 GB (64-bit)
    Free hard drive space: 16 GB (32-bit) or 20 GB (64-bit)
    Graphics card: MicrosoftDirectX 9 graphics device with WDDM driver

  • Tecra S10-106 does not see the HARD drive 1000GO

    Hello

    I bought a 1000MB HARD disk and build in on a TECRA S10-106.
    The HARD drive was not identified.

    Do you have an answer why?

    Thank you for the help

    Hello

    He recognized the HARD drive in the BIOS?
    If not, then possibly the BIOS can't handle this HARD drive because of the size
    Try a 500 GB or 750 GB 2.5 HDD

  • Qosmio G20-106 - exchange of the CMOS battery

    Hi all

    I need to change the battery CMOS of my G20-106. Is this possible without having to disassemble the whole laptop? Where is the battery? Thank you for your help.

    Best regards

    unclescrooge

    Hello

    No, as I know it is not possible to do
    As far as I know the CMOS is welded somewhere on the motherboard and you would need to disassemble the whole laptop. This can be really, really painful procedure.

    But why do you want to remove the battery?
    The CMOS battery is charged and it should be possible to load it again.

  • Find Japanese PS/2 keyboard (106/109 key) driver for Windows 7

    Hi all

    I have an old laptop Dynabook Satellite of Japan with Japanese keyboard.
    When I reinstall the OS using the English version of Windows 7 64 bit, while the keyboard is recognized as a ' keyboard Standard PS/2 ", while the actual layout is PS/2 Japanese (106/109 key) keyboard.

    I work around to get the suitable driver for my keyboard but fails:
    -Some instructions say to change pilot in... Device Manager but here I can't find 'Japanese PS/2 keyboard (106/109 key)' (there is 'The Japanese USB (106/109 key) keyboard' instead)
    (http://www.shaneycrawford.com/2012/08/japanese-keyboard-doesn't-work-on-english-windows-7-laptop/)

    -Some instructions say to find the driver on Toshiba website, but there is no driver keyboard it
    (http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp)
    Also I can't find my model of laptop there.
    (Printed at the rear side of the notebook: model name: series Dynabook Satellite L;) Model No.: PSSD2N-01900N)

    Please help me find the keyboard for my laptop driver.
    Thank you
    NamViet

    Model name: Dynabook Satellite L series
    Model No.: PSSD2N-01900N
    Dynabook Satellite PXW/55KW
    PAPW55KLF10W3

    > When I reinstall the OS using the English version of Windows 7 64-bit, then the keyboard is recognized as a ' keyboard Standard PS/2 "while the actual layout is PS/2 Japanese (106/109 key) keyboard.
    Keyboard use the standard Microsoft installation of some specific language keyboard is not necessary. Thus, the entry in the Device Manager is correct.

    If you use the English version of the OS by the default keyboard input language will be English. I have satellite A300 with Hungarian keyboard, but use Win7 English and there is no problem at all. Keyboard layout is a little different but unique key definition is the same as on the English keyboard.

    What I don't understand is followed by:
    If you use the English OS version of the keyboard input language is set to English?
    What happens when you type in a document?
    You want to change the keyboard with English layout?

    At the end I have to say that I n t have experience with laptop computers designed for the Japan, but I can't imagine it works completely different than notebooks for the European market.

  • Satellite of RADIUS 12 P20W-C-106 how to clean install Windows business 10

    Hello

    We bought a Satellite RADIUS 12 P20W-C-106 to test specific users in our Organization. When I start the installer of Windows 10 (on USB) the resolution causes everything to be tiny (almost unreadable) and I get a message asking drivers to be installed. Can anyone help me by explaining that drivers are necessary and if there is any specific process I should follow to build this laptop with Windows 10 company 10.0.10586 built 10586

    Thank you very much in advance for any help and answers.

    You can open the Device Manager?
    If you provide numbers FRIDAY and DEV devices unresolved, we can google them to identify which device is and find a driver for it.
    Windows Update should find most of the drivers.

  • Omni 1020 120 pc: upgrade processor motherboard Sandy bridge

    Can I use Intel Core i3-3220 (3rd generation) Ivy Bridge 3.3 GHz LGA 1155 55W Intel HD Graphics 2500 for my Omni 1020 120 pc aio pc?

    Thank you for the information, @Nannigalaxy.

    The information I needed was the (in) at the end of the model.  Here are the processors that have been fully tested to work in your motherboard:

    TDP: up to 65W
    Socket type: LGA 1155
    Motherboard supports the following processor upgrades:
    Intel Pentium G4xx (Sandy Bridge) core
    Dual-core Intel Pentium G5xx (Sandy Bridge)
    Dual-core Intel Pentium G6xxT (Sandy Bridge)
    Dual-core Intel Pentium G6xx (Sandy Bridge)
    Dual-core Intel Pentium G8xx (Sandy Bridge)
    Intel Core i3-2xxx/T (Sandy Bridge) Dual Core
    Intel Core i3-2xxx (Sandy Bridge) Dual Core
    Intel Core i5-2xxx (Sandy Bridge) Quad Core
    Intel Core i7-2xxx (Sandy Bridge) Quad Core

    These are processors that we know won't work correctly.  If you use any processor not on the list, he has a good chance that it won't work.

    Please click on the button + Thumbs up if I helped you and click on accept as Solution If your problem is resolved.

Maybe you are looking for

  • Firefox checks not my plug-ins to show that they are updated

    After that I updated the Flash of Adobe Java yesterday, the audit function plug-ins for updates was correct. This morning, it's justsits there and turns without doing anything. Have never had this problem in the past.

  • doing just that, means "the printer is offline"?

    There must be an easy way and foolproof to get the printer started, but what is? Sometimes I managed, and sometimes I'm not. I try to unplug the power cord and the cord to connect my printer to my computer. I also delete jobs displayed in the status

  • USSD code unable?

    I am from Indonesia, I can't use ussd for any vendor in this code.Can I use USSD code only to see my serial device number "* #06 #How can I fixed? any suggestion?before THX

  • battery W520 died after 6.5 months. Not a unit called

    Is it possible to resurrect a dead battery that does not too fast? This is the chip that has the problem. I bought a second battery from Amazon to 'save' my original battery that is sent into the machine to purchase end of October 2011. I have a 4276

  • Password TestStand

    Hello I'm developing a test with TestStand 2010. I protected the file changes sequence of test users by setting a password for the administrator, I have now... I forgot (Yes, I know, stupid!). I thought that I had recorded in my password database (ke