Git Product home page Git Product logo

Comments (7)

gsmet avatar gsmet commented on May 24, 2024

Hi Andreas,

This is a known limitation.

I have to extract this commit (in fact, this code has changed but it's just a one liner to fix):
gmokki@c5d2c32

I have a couple of things to do so I'll see about extracting this one from the original pull request and submit another one.

from pgjdbc-ng.

andreak avatar andreak commented on May 24, 2024

Thanks!

from pgjdbc-ng.

andreak avatar andreak commented on May 24, 2024

BTW; The real error was kind of hard to spot as the NFE is masked and the real NFE.message never gets out in the log.

Maybe changin
ProtocolFactoryImpl.translateConnectionException

so that
io = new IOException(e.getCause());

becomes:
io = new IOException(e);

?

Then the NFE won't get masked. As it stands e.getCause() returns null so the NFE never propagates.

from pgjdbc-ng.

gsmet avatar gsmet commented on May 24, 2024

IIRC, there's something to fix that in the original PR and it should be
merged to.

See my post here: #85

On Thu, Jul 3, 2014 at 11:13 AM, Andreas Joseph Krogh <
[email protected]> wrote:

BTW; The real error was kind of hard to spot as the NFE is masked and the
real NFE.message never gets out in the log.

Maybe changin
ProtocolFactoryImpl.translateConnectionException

so that
io = new IOException(e.getCause());

becomes:
io = new IOException(e);

?

Then the NFE won't get masked. As it stands e.getCause() returns null so
the NFE never propagates.


Reply to this email directly or view it on GitHub
#90 (comment).

from pgjdbc-ng.

andreak avatar andreak commented on May 24, 2024

Right, it's there.
What's holding up merging of #73?

from pgjdbc-ng.

gsmet avatar gsmet commented on May 24, 2024

Nothing. There's just some work to merge it due to the recent changes.

I'll prepare a clean PR for Kevin or Brett to merge it directly. Hopefully
in a few hours.

On Thu, Jul 3, 2014 at 11:35 AM, Andreas Joseph Krogh <
[email protected]> wrote:

Right, it's there.
What's holding up merging of #73
#73?


Reply to this email directly or view it on GitHub
#90 (comment).

from pgjdbc-ng.

gsmet avatar gsmet commented on May 24, 2024

Done: #91

from pgjdbc-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.