Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum lock count exceeded error #7

Closed
calfzhou opened this issue Dec 18, 2013 · 0 comments
Closed

Maximum lock count exceeded error #7

calfzhou opened this issue Dec 18, 2013 · 0 comments

Comments

@calfzhou
Copy link

Seems this bug still happens on gephi-toolkit-0.8.7 and gephi-toolkit-0.9.

I wrote a layout plugin, and it works well in Gephi GUI. But when i use it with gephi-toolkit, this "maximum lock count exceede error" will occur if the graph is large.

error details:

Exception in thread "main" java.lang.Error: Maximum lock count exceeded
at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.fullTryAcquireShared(ReentrantReadWriteLock.java:531)
at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:491)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1281)
at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:731)
at org.gephi.graph.dhns.core.Dhns.readLock(Dhns.java:188)
at org.gephi.graph.dhns.graph.AbstractGraphImpl.readLock(AbstractGraphImpl.java:83)
at org.gephi.graph.dhns.graph.HierarchicalDirectedGraphImpl.getInEdges(HierarchicalDirectedGraphImpl.java:183)
at com.weiboyi.gephi.layout.force.ForceTreeLayout.initializeLayoutData(ForceTreeLayout.java:85)
at com.weiboyi.gephi.layout.force.ForceTreeLayout.initAlgo(ForceTreeLayout.java:128)
at com.weiboyi.spread.RouteLayout.layoutGraph(RouteLayout.java:69)
at com.weiboyi.spread.RouteLayout.Layout(RouteLayout.java:44)
at com.weiboyi.spread.Main.main(Main.java:58)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant