dynamobi/dynamobi — Issue #387: [FRG-393] Explain plan on system views causes UTF exception using Client Driver
Author: dynamobi-build
Created: 2011-12-30 03:11:45+00:00
State: closed
Labels: FRG, JDBC Client Driver

[reporter="ngoodman", created="Tue, 16 Feb 2010 17:00:24 -0500 (GMT-05:00)"]
Following statement results in a NPE when run via sqllineClient. Works fine using engine driver

0: jdbc:luciddb:http://localhost> explain plan for select * from sys_root.dba_tables;

Error: java.lang.NullPointerException

at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputStream.java:2097)

at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1968)

at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:841)

at de.simplicit.vjdbc.serial.SerialResultSetMetaData.writeStringArr(SerialResultSetMetaData.java:71)

at de.simplicit.vjdbc.serial.SerialResultSetMetaData.writeExternal(SerialResultSetMetaData.java:160)

at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

at de.simplicit.vjdbc.serial.StreamingResultSet.writeExternal(StreamingResultSet.java:65)

at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1421)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1390)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)

at de.simplicit.vjdbc.serial.SerializableTransport.serializeObject(SerializableTransport.java:86)

at de.simplicit.vjdbc.serial.SerializableTransport.deflate(SerializableTransport.java:50)

at de.simplicit.vjdbc.serial.SerializableTransport.(SerializableTransport.java:28)

at de.simplicit.vjdbc.server.command.ConnectionEntry.handleResultSet(ConnectionEntry.java:301)

at de.simplicit.vjdbc.server.command.ConnectionEntry.executeCommand(ConnectionEntry.java:186)

at de.simplicit.vjdbc.server.command.CommandProcessor.process(CommandProcessor.java:159)

at net.sf.farrago.server.FarragoServletCommandSink.handleRequest(FarragoServletCommandSink.java:125)

at net.sf.farrago.server.FarragoServletCommandSink.doPost(FarragoServletCommandSink.java:91)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:426)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:118)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:179)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:116)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:112)

at org.eclipse.jetty.server.Server.handle(Server.java:337)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:546)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:987)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:736)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:399)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:437)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:435)

at java.lang.Thread.run(Thread.java:619) (state=,code=0)