Giter VIP home page Giter VIP logo

Comments (11)

miniway avatar miniway commented on September 3, 2024

Could you please post your SUB part of the failed case?

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

@miniway
thx for the comment, but the SUB part code is that I can't access, nor control. All I know about it is just simple straightforward connect, subscribe and unsubscribe :(
I read the source code of Mtrie.java, and line 353 is: if (current.pipes != null)
Sorry I really don't get it under what circumstance will the var "current" be NULL...

from jeromq.

miniway avatar miniway commented on September 3, 2024

Please try with a modified jar, https://www.dropbox.com/s/7xvbttps35a0j5b/jeromq-0.3.0-SNAPSHOT.jar

It contains a fix at the Mtrie.java. If it fixes your problem, I'm going to publish the fix to public.

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

ok, I'll try this new jar, thx~

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

still remains the problem... :(

from jeromq.

miniway avatar miniway commented on September 3, 2024

:(
So, what kinds of topics? If I know the exact list of topics it would be helpful, because the Mtrie builds trees one character by one. And how many client usually connect?

from jeromq.

miniway avatar miniway commented on September 3, 2024

Please try it once more with https://www.dropbox.com/s/7xvbttps35a0j5b/jeromq-0.3.0-SNAPSHOT.jar

The url is the same before but the file has an another fix.

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

The topics are like "ping", "chat" etc., just a fixed set of Strings. I'll test on the new jar, hope it'll work :)

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

have run the new jar for a day without the NPE, thought it ok, thx~

from jeromq.

MichaelScofield avatar MichaelScofield commented on September 3, 2024

it would be nicer if u merge the change to the master, so I don't need to maintain the jar myself instead of maven~

from jeromq.

miniway avatar miniway commented on September 3, 2024

I've also updated the jeromq-0.3.0-SNAPSHOT at sonatype. Your maven will download the latest jar

from jeromq.

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.