db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2785) ij "describe" built in command cannot describe a table named "run"
Date Sat, 19 Jun 2010 16:48:23 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880510#action_12880510

Bryan Pendleton commented on DERBY-2785:

Hi Eranda,

I am not sure why the BootLock test is failing for you. It is a new test in mainline,
and I'm not completely familiar with it. It looks like the code in the test:

            int port = TestConfiguration.getCurrent().getPort();
            cmd[2] = (new Integer(port)).toString();

computed an input string of "" for your port number, since the error was:

   Exception in thread "main" java.lang.NumberFormatException: For input string: ""

Maybe somebody who is familiar with BootLockTest can spot why it couldn't
figure out your port number.

The failures in ij7 test look like they could be related to your patch; the output
contains: JAVA ERROR: java.lang.NullPointerException

Somewhere in a subdirectory of the place where you ran your junit tests there
should be some output files which recorded the results of the run of the ij7
tests, and in those files you should be able to find the complete stack trace.

Try running something like:

  find . -exec grep NullPointerException {} \; -print

in the location where you ran your junit tests, and see if the file turns up.

> ij "describe" built in command cannot describe a table named "run"
> ------------------------------------------------------------------
>                 Key: DERBY-2785
>                 URL: https://issues.apache.org/jira/browse/DERBY-2785
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions:
>         Environment: OS-X, Java 1.5
>            Reporter: Tim Halloran
>            Assignee: Eranda Sooriyabandara
>            Priority: Minor
>         Attachments: caidentifier.diff, derby-2785.diff, derby-2785.diff, derby-2785.diff,
derbyall_report.txt, derbyall_report.txt, describeKeywords.diff, junitAll.out, step logs.txt
> steps to duplicate:
> (attach ij to any database)
> ij> create table run (i int);
> 0 rows inserted/updated/deleted
> ij> desc run;
> ERROR 42X01: Syntax error: Encountered "desc" at line 1, column 1.
> ij> 
> I think this is a parser problem within ij where the "run" is taken as a token and that
token is not included in the definition of a tablename expression in the grammer (should be
an easy fix).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message