Comments (5)
I think I see what is causing this.
I think an exception is being thrown with some NIO.2 operation and a value is
being set to null and latter causing the NullPointerException
The following method sets an attachment to null and later it's used, causing
the exception,
http://code.google.com/p/java-gearman-service/source/browse/trunk/src/org/gearma
n/impl/reactor/SocketImpl.java#207
I've seen very inconsistent behavior with NIO.2 between operating systems. I
was planning on converting to the old NIO API because of this inconsistency. I
may try to do this sooner than later now.
I'm not sure if this is causing any real issues with your wrapping application.
If it's alright with you, I might want to make you a temporary build to see
what the exception thrown by NIO.2 is.
Original comment by [email protected]
on 26 Jul 2012 at 7:06
- Changed state: Accepted
from java-gearman-service.
Additionally we have 2 separate tables for each gearman server to avoid
duplicate job processing when the 2 gearman servers are restarted with pending
jobs in the database. We also put in some fixes for initializing the
gearman-manager from the database. We can share that with you if you would like.
Original comment by floyd.lewis
on 26 Jul 2012 at 8:56
from java-gearman-service.
[deleted comment]
from java-gearman-service.
Fix submitted to v0.6.4
Original comment by [email protected]
on 2 Aug 2012 at 6:39
from java-gearman-service.
Original comment by [email protected]
on 2 Aug 2012 at 6:39
- Changed state: Fixed
from java-gearman-service.
Related Issues (20)
- Suspected memory leak HOT 8
- v0.6.4 not properly disconnecting HOT 1
- The gearman worker behaves incorectly when a function is removed and added from within the worker HOT 1
- Connection lost, fail to reconnect HOT 22
- Get the job handle from the GearmanFunction HOT 3
- Worker is not closing connections on shutdown. HOT 1
- NullPointerException HOT 2
- Possible Memory Leak HOT 1
- Gearman worker stopped connecting to server HOT 1
- GearmanClient timeout missing HOT 2
- Gearman shutdown issue
- GearmanJobReturnImpl.java poll(timeout,timeunit) function fail,
- After timeout on GRAB_JOB no futher jobs are processed and connection is dropped every 20 seconds HOT 4
- Worker disconnects 30 sec after PRE_SLEEP HOT 10
- exported .jar with 'echo' example produces errors HOT 4
- Null pointer exception when trying to unregister a function
- java.util.ConcurrentModificationException on the server side
- fake workers on gearman server HOT 1
- Gearman workers wont connnect to the daemon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-gearman-service.