🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.datagateway
3 messages
3 total messages Started by Timo H Jarvinen Thu, 27 May 1999 00:00
ResultSet problem
#140
Author: Timo H Jarvinen
Date: Thu, 27 May 1999 00:00
30 lines
1232 bytes
Hello,

I have made a simple test program for DataGateway that makes a simple
query to Fulcrum database. The funny thing is that it works on some
computers, on others it doesn't.

The error message:

 Exception in thread "main" java.lang.VerifyError: <class:
borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
find
unitialized object on stack
   at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
   at testi.main<compiled code>


The problem is in handling the result set:

while (rs.next()) {
	System.out.println(rs.getString(1));
}


If I take that part of the code away, everything works fine.

Any idea what's going on?

---
Timo Jarvinen
VTT Information Technology
Re: ResultSet problem
#141
Author: Timo H Jarvinen
Date: Thu, 27 May 1999 00:00
40 lines
1475 bytes
Hello again,

I found the solution myself. With newer version of DataGateway.zip file
(March 11 1998) the program works.

----
Regards,
Timo


I wrote:

> Hello,
>
> I have made a simple test program for DataGateway that makes a simple
> query to Fulcrum database. The funny thing is that it works on some
> computers, on others it doesn't.
>
> The error message:
>
>  Exception in thread "main" java.lang.VerifyError: <class:
> borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
> find
> unitialized object on stack
>    at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
>    at testi.main<compiled code>
>
> The problem is in handling the result set:
>
> while (rs.next()) {
>         System.out.println(rs.getString(1));
> }
>
> If I take that part of the code away, everything works fine.
>
> Any idea what's going on?
>
> ---
> Timo Jarvinen
> VTT Information Technology
Re: ResultSet problem
#142
Author: Alan McCreary
Date: Thu, 27 May 1999 00:00
46 lines
1770 bytes
I am having the same problem when I deploy from JBuilder C/S ver 2 (ver
1 is OK).  Where can I get a copy of the newer DataGateway.zip file?

- Alan McCreary

Timo H Jarvinen wrote:
> 
> Hello again,
> 
> I found the solution myself. With newer version of DataGateway.zip file
> (March 11 1998) the program works.
> 
> ----
> Regards,
> Timo
> 
> I wrote:
> 
> > Hello,
> >
> > I have made a simple test program for DataGateway that makes a simple
> > query to Fulcrum database. The funny thing is that it works on some
> > computers, on others it doesn't.
> >
> > The error message:
> >
> >  Exception in thread "main" java.lang.VerifyError: <class:
> > borland/jdbc/Broker/Resul....method: _$5 signature: <>V> Expecting to
> > find
> > unitialized object on stack
> >    at borland.jdbc.Broker.ResultSet.getMetaData<ResultSet.java:1366>
> >    at testi.main<compiled code>
> >
> > The problem is in handling the result set:
> >
> > while (rs.next()) {
> >         System.out.println(rs.getString(1));
> > }
> >
> > If I take that part of the code away, everything works fine.
> >
> > Any idea what's going on?
> >
> > ---
> > Timo Jarvinen
> > VTT Information Technology
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads