History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FRG-337
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: John V. Sichi
Reporter: Nigel Thomas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Farrago

select from global temporary table causes null pointer exception

Created: 21/Aug/08 03:22 AM   Updated: 19/Feb/10 12:15 PM
Return to search
Component/s: None
Affects Version/s: 0.7.3
Fix Version/s: None

Environment: Windows XP SP3


 Description  « Hide
0: jdbc:farrago:rmi://localhost> set schema 'test';
No rows affected (0.032 seconds)
0: jdbc:farrago:rmi://localhost> create global temporary table gtt (id integer primary key, textvalue varchar(20)) on commit preserve rows;
No rows affected (0.234 seconds)
0: jdbc:farrago:rmi://localhost>insert into gtt values(2,'a test 2');
1 row affected (0.391 seconds)
0: jdbc:farrago:rmi://localhost> insert into gtt values(1,'a test 1');
1 row affected (0.25 seconds)
0: jdbc:farrago:rmi://localhost> select * from gtt;
+-----+------------+
| ID | TEXTVALUE |
+-----+------------+
| 1 | a test 1 |
| 2 | a test 2 |
+-----+------------+
2 rows selected (0.281 seconds)
0: jdbc:farrago:rmi://localhost> !quit
Closing: de.simplicit.vjdbc.VirtualConnection

C:\eigenbase\eigenbase-0.7.3\bin>sqllineClient
Connecting to jdbc:farrago:rmi://localhost
Connected to: Eigenbase Data Management System (version 0.7.3)
Driver: FarragoJdbcDriver (version 0.7)
Autocommit status: true
Transaction isolation: TRANSACTION_REPEATABLE_READ
sqlline version 1.0.4-jh by Marc Prud'hommeaux
0: jdbc:farrago:rmi://localhost> set schema 'test';
No rows affected (0.032 seconds)
0: jdbc:farrago:rmi://localhost> select * from gtt;
Error: java.lang.NullPointerException: null (state=,code=0)
0: jdbc:farrago:rmi://localhost>

(following notes from http://farrago.sourceforge.net/status.html)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Nigel Thomas - 21/Aug/08 03:24 AM
Should have clarified - select works from same session as create; select fails from a new session. The farragoServer was running throughout.

Can't reproduce on 0.7.4 windows as the server refuses to start (time for a separate bug report).

Nigel Thomas - 21/Aug/08 06:30 AM
Repeating test on 0.7.4 on Ubuntu, can't repeat this problem:

0: jdbc:sqlstream:> create global temporary table gtt(id integer primary key
. . . . . . . . . > , textvalue varchar(20)) on commit preserve rows;
No rows affected (0.821 seconds)
0: jdbc:sqlstream:> insert into gtt values(1,'test string');
1 row affected (1.378 seconds)
0: jdbc:sqlstream:> select * from gtt;
+-----+--------------+
| ID | TEXTVALUE |
+-----+--------------+
| 1 | test string |
+-----+--------------+
1 row selected (1.039 seconds)
0: jdbc:sqlstream:> !quit
Closing: com.sqlstream.aspen.jdbc.AspenRJConnection
demo@bento:~/eigenbase/eigenbase-0.7.4/bin$ sqllineClient
Connecting to jdbc:sqlstream:;sessionName='sqllineClient@/dev/pts/2:demo@bento'
Connected to: SQLstream (version 1.1.2)
Driver: SQLstreamJdbcDriver (version 1.1-distrib)
Autocommit status: true
Transaction isolation: TRANSACTION_REPEATABLE_READ
sqlline version 1.0.4-jh by Marc Prud'hommeaux
0: jdbc:sqlstream:> set schema 'test';
No rows affected (0.187 seconds)
0: jdbc:sqlstream:> select * from gtt;
+-----+------------+
| ID | TEXTVALUE |
+-----+------------+
+-----+------------+
No rows selected (1.345 seconds)

John V. Sichi - 21/Aug/08 04:43 PM
I can reproduce this with my latest development build, so the problem is still there. See also FRG-298. Suffice it to say that Farrago support for global temporary tables is currently quarter-baked. I'll update the status page accordingly.

Change by John V. Sichi - 19/Feb/10 12:15 PM
Field Original Value New Value
Comment [ [buy cheap tramadol|http://thoughtmesh.net/meshes.php?group=33]
[buy tramadol online|http://thoughtmesh.net/meshes.php?group=34]
[buy cheap tramadol|http://thoughtmesh.net/meshes.php?group=35]
[cheap tramadol without prescription|http://thoughtmesh.net/meshes.php?group=36]
[tramadol cheapest price|http://thoughtmesh.net/meshes.php?group=37]
[cod tramadol|http://thoughtmesh.net/meshes.php?group=38]
[order discount tramadol|http://thoughtmesh.net/meshes.php?group=39]
[drugs tramadol|http://thoughtmesh.net/meshes.php?group=40]
[generic tramadol|http://thoughtmesh.net/meshes.php?group=41]
[buy tramadol without presription arrive next day|http://thoughtmesh.net/meshes.php?group=42]
[tramadol price|http://thoughtmesh.net/meshes.php?group=43]
[side effects of tramadol in canines|http://thoughtmesh.net/meshes.php?group=44]
[tramadol hcl 50 mg|http://thoughtmesh.net/meshes.php?group=45]
[tramadol hcl 50mg tablet|http://thoughtmesh.net/meshes.php?group=46]
[tramadol no prescription|http://thoughtmesh.net/meshes.php?group=47]
[addiction to tramadol|http://thoughtmesh.net/meshes.php?group=48]
[cheap tramadol|http://thoughtmesh.net/meshes.php?group=49]
[canine tramadol dosage|http://thoughtmesh.net/meshes.php?group=50]
[tramadol dose|http://thoughtmesh.net/meshes.php?group=51]
[tramadol drug|http://thoughtmesh.net/meshes.php?group=52]
[long term effects of tramadol|http://thoughtmesh.net/meshes.php?group=53]
[ingredients in tramadol|http://thoughtmesh.net/meshes.php?group=54]
[tramadol hcl|http://thoughtmesh.net/meshes.php?group=55]
[tramadol hydrochloride picture|http://thoughtmesh.net/meshes.php?group=56]
[information on tramadol|http://thoughtmesh.net/meshes.php?group=57]
[tramadol medication|http://thoughtmesh.net/meshes.php?group=58]
[medicine tramadol |http://thoughtmesh.net/meshes.php?group=59]
[tramadol hcl 50 mg tab|http://thoughtmesh.net/meshes.php?group=60]
[tramadol no prescription fedex|http://thoughtmesh.net/meshes.php?group=61]
[cheap tramadol online|http://thoughtmesh.net/meshes.php?group=62]
[tramadol online|http://thoughtmesh.net/meshes.php?group=63]
[order tramadol cod|http://thoughtmesh.net/meshes.php?group=64]
[tramadol cheap no rx nextday delivery|http://thoughtmesh.net/meshes.php?group=65]
[overnight tramadol|http://thoughtmesh.net/meshes.php?group=66]
[online prescriptions tramadoltramadol online|http://thoughtmesh.net/meshes.php?group=67]
[buy cheap tramadol o|http://thoughtmesh.net/meshes.php?group=68]
[tramadol side effects|http://thoughtmesh.net/meshes.php?group=69]
[best price on tramadol 50 and 100 mg|http://thoughtmesh.net/meshes.php?group=70]
[buy tramadol online without prescription|http://thoughtmesh.net/meshes.php?group=71]
[cheap tramadol|http://thoughtmesh.net/meshes.php?group=72]
[best price on tramadol 50 and 100 mg|http://thoughtmesh.net/meshes.php?group=73]
[tramadol without a rx and prednisone|http://thoughtmesh.net/meshes.php?group=74]
[tramadol sales|http://thoughtmesh.net/meshes.php?group=75]
[tramadol buy online|http://thoughtmesh.net/meshes.php?group=76]
[buy ultram cheap online without a prescription|http://thoughtmesh.net/meshes.php?group=77]
[tramadol withdrawal symptoms|http://thoughtmesh.net/meshes.php?group=78]
[tramadol hydrochloride|http://thoughtmesh.net/meshes.php?group=79]
[ingredients in tramadol|http://thoughtmesh.net/meshes.php?group=80]
[tramadol drug|http://thoughtmesh.net/meshes.php?group=81]
]