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

Can't bind a class to a custom node. #10

Closed
raditha opened this issue Aug 22, 2017 · 8 comments
Closed

Can't bind a class to a custom node. #10

raditha opened this issue Aug 22, 2017 · 8 comments
Assignees

Comments

@raditha
Copy link

raditha commented Aug 22, 2017

When binding the class to a custom node the "Available blocks" doesn't show any classes which were created.
image

@dpavlikovskiy dpavlikovskiy self-assigned this Aug 22, 2017
@dpavlikovskiy
Copy link
Member

@raditha Can you attach zip of your project?

@raditha
Copy link
Author

raditha commented Aug 23, 2017

@dpavlikovskiy Sure.I am using JDK 1.7 with neuro4j studio 0.9.The project is attached.
jwtTest3.zip

@dpavlikovskiy
Copy link
Member

@raditha please download latest (2.0.1) studio from http://static.neuro4j.org/download/studio/ (0.9 is very old version). Also it requires java8... Let me know if it solves your problem

screen shot 2017-08-22 at 11 21 37 pm

@raditha
Copy link
Author

raditha commented Sep 6, 2017

@dpavlikovskiy Downloading the latest and upgrading to java 1.8 solved the issue. But when i'm trying to run the example provided in the documentation the following exception occurs.

INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ WorkflowExample --- 15:23:21.744 [org.neuro4j.workflow.tutorial.App.main()] DEBUG org.neuro4j.workflow.node.WorkflowProcessor - Loading flow: FlowParameter [flowName=org.neuro4j.workflow.tutorial.HelloFlow, flowPackage=org.neuro4j.workflow.tutorial, startNode=Start] 15:23:21.750 [org.neuro4j.workflow.tutorial.App.main()] DEBUG org.neuro4j.workflow.cache.ConcurrentMapWorkflowCache - Loading to cache: org.neuro4j.workflow.tutorial.HelloFlow [WARNING] java.lang.IllegalArgumentException: character to be escaped is missing at java.util.regex.Matcher.appendReplacement(Matcher.java:809) at java.util.regex.Matcher.replaceAll(Matcher.java:955) at java.lang.String.replaceAll(String.java:2223) at org.neuro4j.workflow.loader.URLWorkflowLoader.normalize(URLWorkflowLoader.java:80) at org.neuro4j.workflow.loader.ClasspathWorkflowLoader.getResource(ClasspathWorkflowLoader.java:37) at org.neuro4j.workflow.loader.URLWorkflowLoader.load(URLWorkflowLoader.java:46) at org.neuro4j.workflow.loader.RemoteWorkflowLoader.load(RemoteWorkflowLoader.java:83) at org.neuro4j.workflow.cache.ConcurrentMapWorkflowCache$WorkflowProxy.get(ConcurrentMapWorkflowCache.java:91) at org.neuro4j.workflow.cache.ConcurrentMapWorkflowCache.get(ConcurrentMapWorkflowCache.java:61) at org.neuro4j.workflow.node.WorkflowProcessor.loadWorkflow(WorkflowProcessor.java:232) at org.neuro4j.workflow.node.WorkflowProcessor.execute(WorkflowProcessor.java:93) at org.neuro4j.workflow.common.WorkflowEngine.execute(WorkflowEngine.java:95) at org.neuro4j.workflow.tutorial.App.main(App.java:29) 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 org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) at java.lang.Thread.run(Thread.java:748)

@dpavlikovskiy
Copy link
Member

@raditha What example did you try? WorkflowExample from https://github.com/eternita/workflow/tree/master/tutorials/

@raditha
Copy link
Author

raditha commented Sep 7, 2017

@dpavlikovskiy I tried the workflowExample from the tutorials.

@dpavlikovskiy
Copy link
Member

@raditha I have updated version to 3.4.1 in tutorials
6e212d2#diff-d5c7848720b108dc67ff93368df1502eR13
Please try again and thanks for reporting an issue

@raditha
Copy link
Author

raditha commented Sep 7, 2017

@dpavlikovskiy Now it works as expected after the update.Thank you for the prompt response and support.

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

2 participants