Sushma Venkatesh's Avatar

Sushma Venkatesh

20 Dec, 2012 04:19 PM


I was trying out the spirograph example and when I add a copy node and connect the output of the reflect node to the copy node I get the following error.

java.lang.IllegalArgumentException: java.lang.ClassCastException@1b5c3de

at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at nodebox.function.JavaLibrary$StaticMethodFunction.invoke(Unknown Source)
at nodebox.node.NodeContext.invokeFunction(Unknown Source)
at nodebox.node.NodeContext.invokeNode(Unknown Source)
at nodebox.node.NodeContext.invokeNode(Unknown Source)
at nodebox.node.NodeContext.renderNode(Unknown Source)
at nodebox.node.NodeContext.renderChild(Unknown Source)
at nodebox.node.NodeContext.renderNode(Unknown Source)
at nodebox.node.NodeContext.renderNode(Unknown Source)
at nodebox.client.NodeBoxDocument$ Source)
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
  1. Support Staff 1 Posted by Frederik De Ble... on 21 Dec, 2012 01:13 PM

    Frederik De Bleser's Avatar

    There are two reflect nodes: one works just with numbers (the greenish one) and one that works with geometry (the black one). You've probably selected the wrong one. (in general, black nodes need to be connected to other black nodes)

    The type of a node is quite important. NodeBox will try to convert between types, but in this case the two nodes do different things, even though their names are equal.

    You can read more about types and type conversion on our "How NodeBox Works" page.

  2. Frederik De Bleser closed this discussion on 21 Dec, 2012 01:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Apr, 2024 06:18 PM
16 Apr, 2024 04:23 AM
08 Apr, 2024 01:28 AM
07 Apr, 2024 11:50 PM
05 Apr, 2024 11:47 PM


05 Apr, 2024 12:30 AM
25 Mar, 2024 08:48 PM
14 Mar, 2024 07:40 PM
14 Mar, 2024 07:38 PM
12 Mar, 2024 06:14 AM
12 Mar, 2024 05:22 AM