question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IllegalStateException: Queue full

See original GitHub issue

this is on a rather big multiproject sbt build

JNA: Callback io.methvin.watchservice.MacOSXListeningWatchService$MacOSXListeningCallback@4778113f threw the following exception:
java.lang.IllegalStateException: Queue full
	at java.util.AbstractQueue.add(AbstractQueue.java:98)
	at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:312)
	at io.methvin.watchservice.AbstractWatchKey.signalEvent(AbstractWatchKey.java:156)
	at io.methvin.watchservice.MacOSXListeningWatchService$MacOSXListeningCallback.invoke(MacOSXListeningWatchService.java:171)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:485)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:515)
	at com.sun.jna.Native.invokeVoid(Native Method)
	at com.sun.jna.Function.invoke(Function.java:374)
	at com.sun.jna.Function.invoke(Function.java:323)
	at com.sun.jna.Library$Handler.invoke(Library.java:236)
	at com.sun.proxy.$Proxy11.CFRunLoopRun(Unknown Source)
	at io.methvin.watchservice.MacOSXListeningWatchService$CFRunLoopThread.run(MacOSXListeningWatchService.java:105)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gmethvincommented, Nov 29, 2017

Okay I see the bug. We should be calling queue.offer instead of queue.add. If the offer is rejected we can send an OVERFLOW event. It also probably wouldn’t hurt to make the queue size configurable.

0reactions
gmethvincommented, Dec 4, 2017

It is https://github.com/swoval/MacOSXWatchService. Looks like the author has copied the code from this project and made some changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Queue Full, On depth of the Blocking Queue, clarification ...
When populating the queue from the contents of the file, depth does not seem to ever increase, as elements are not added in...
Read more >
java.lang.IllegalStateException: Queue full - Ubiquiti Community
IllegalStateException : Queue full for each inform. The menagement interface also become unresponsive and eventually timeout. Restarting the sevice fix the issue ...
Read more >
java.lang.IllegalStateException: Queue full · Issue #50 - GitHub
java.lang.IllegalStateException: Queue full at java.util.AbstractQueue.add(AbstractQueue.java:98) at com.github.brainlag.nsq.
Read more >
Fatal Exception: java.lang.IllegalStateException "Queue full"
Smack automatically asks for a SM ack once the unacknoledgedStanzas queues has reached 80% of its maximum capacity. If you see this exception, ......
Read more >
[KAFKA-85] java.lang.IllegalStateException: Queue full is ...
All other settings use the default. org.apache.kafka.connect.errors.ConnectException: java.lang.IllegalStateException: Queue full\n\tat com.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found