Giter Club home page Giter Club logo

Comments (6)

lofifnc avatar lofifnc commented on June 19, 2024

Could you supply some code causing this exception? Like this I can only guess what's causing this.

from flink-spector.

etishka avatar etishka commented on June 19, 2024

It is just a generic Flinkspector testcase; this happens before any test execution.
And it only occurs on corporate build system's linux box (teamcity). Developer's systems and jenkins CI work ok.

from flink-spector.

etishka avatar etishka commented on June 19, 2024

BTW, looking into the code:


private Action processMessage(byte[] bytes)
            throws IOException, FlinkTestFailedException {

        if (bytes.length == 0) {
            //the subscriber has been cancelled from outside quietly finish the process
            return Action.FINISH;
        }

        if (bytes == null) {
            System.out.println("Waited too long for message from sink");
            return Action.FINISH;
        }

if bytes == null, then first check would raise NPE. And the second check would always be false

from flink-spector.

DaveFrederick avatar DaveFrederick commented on June 19, 2024

I ran into this bug and using a private patch with the first two if blocks switched in processMessage(), the problem is resolved.

from flink-spector.

lofifnc avatar lofifnc commented on June 19, 2024

Could you open a pull request with the fix?
I'm at vacation for the next 3 weeks and don't have access to a computer. I could at least merge this into the master.

Cheers, Alex

from flink-spector.

lofifnc avatar lofifnc commented on June 19, 2024

The bug fix has been included into release 0.8.3

from flink-spector.

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.