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

copycat resources produce Jersey chatter #2

Open
dotasek opened this issue Feb 7, 2018 · 0 comments
Open

copycat resources produce Jersey chatter #2

dotasek opened this issue Feb 7, 2018 · 0 comments

Comments

@dotasek
Copy link
Collaborator

dotasek commented Feb 7, 2018

The Jersey server reports some warnings associated with Diffusion, visible in the framework-cytoscape.log file:

2018-02-07 16:41:46,369 [ResourcePublisher] WARN org.glassfish.jersey.internal.Errors - The following warnings have been detected: WARNING: Parameter 2 of type org.cytoscape.work.SynchronousTaskManager from public org.cytoscape.copycatLayout.internal.rest.CopycatLayoutResource(org.cytoscape.application.CyApplicationManager,org.cytoscape.work.SynchronousTaskManager,org.cytoscape.model.CyNetworkManager,org.cytoscape.view.model.CyNetworkViewManager,org.cytoscape.copycatLayout.internal.task.CopycatLayoutTaskFactory,org.cytoscape.ci.CIResponseFactory,org.cytoscape.ci.CIExceptionFactory,org.cytoscape.ci.CIErrorFactory) is not resolvable to a concrete type.
WARNING: Parameter 2 of type org.cytoscape.work.SynchronousTaskManager from public org.cytoscape.copycatLayout.internal.rest.CopycatLayoutResource(org.cytoscape.application.CyApplicationManager,org.cytoscape.work.SynchronousTaskManager,org.cytoscape.model.CyNetworkManager,org.cytoscape.view.model.CyNetworkViewManager,org.cytoscape.copycatLayout.internal.task.CopycatLayoutTaskFactory,org.cytoscape.ci.CIResponseFactory,org.cytoscape.ci.CIExceptionFactory,org.cytoscape.ci.CIErrorFactory) is not resolvable to a concrete type.
WARNING: Parameter 2 of type org.cytoscape.work.SynchronousTaskManager from public org.cytoscape.copycatLayout.internal.rest.CopycatLayoutResource(org.cytoscape.application.CyApplicationManager,org.cytoscape.work.SynchronousTaskManager,org.cytoscape.model.CyNetworkManager,org.cytoscape.view.model.CyNetworkViewManager,org.cytoscape.copycatLayout.internal.task.CopycatLayoutTaskFactory,org.cytoscape.ci.CIResponseFactory,org.cytoscape.ci.CIExceptionFactory,org.cytoscape.ci.CIErrorFactory) is not resolvable to a concrete type.

A similar issue was present in CyREST, and was fixed by replacing ? as the generic with Object, so that:

private SynchronousTaskManager<?> taskManager;

becomes:

private SynchronousTaskManager<Object> taskManager; 

This may require some other minor refactoring to implement.

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

No branches or pull requests

2 participants