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

23 May, 2023 02:09 PM
12 May, 2023 10:17 PM
07 May, 2023 11:53 PM
07 May, 2023 04:43 PM
17 Apr, 2023 11:34 AM


15 Apr, 2023 01:31 AM
15 Apr, 2023 01:23 AM
14 Apr, 2023 02:54 AM
11 Apr, 2023 03:53 PM
08 Apr, 2023 09:59 PM
08 Apr, 2023 08:14 AM