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

java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.Double #7716

Open
ammar567 opened this issue Jun 3, 2023 · 3 comments
Labels
editor Issues related to the Defold editor lua Issues related to the use of Lua

Comments

@ammar567
Copy link

ammar567 commented Jun 3, 2023

Expected behaviour

Actual behaviour

Steps to reproduce


Build time2023-05-30T13:43:57.701414
Defold channeleditor-alpha
Defold editor shab435988
Defold engine shacb8b342
Defold version1.4.6
Error2fecfb9327b640b68adc961aa58f02b1
GPUNVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
GPU Driver4.6.0 NVIDIA 516.94
Java version11.0.15+10-LTS
OS archamd64
OS nameWindows 10
OS version10.0
@vlaaad
Copy link
Contributor

vlaaad commented Jun 7, 2023

java.util.concurrent.FutureTask.report.class java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.Double
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:191)
    at clojure.core$deref_future.invokeStatic(core.clj:2300)
    at clojure.core$future_call$reify.deref(core.clj:6974)
    at clojure.core$deref.invokeStatic(core.clj:2320)
    at clojure.core$deref.invoke(core.clj:2306)
    at clojure.core$map$fn.invoke(core.clj:2755)
    at clojure.lang.LazySeq.sval(LazySeq.java:42)
    at clojure.lang.LazySeq.seq(LazySeq.java:58)
    at clojure.lang.RT.seq(RT.java:531)
    at clojure.core$seq__5387.invokeStatic(core.clj:137)
    at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:24)
    at clojure.core.protocols$fn.invokeStatic(protocols.clj:75)
    at clojure.core.protocols$fn.invoke(protocols.clj:75)
    at clojure.core.protocols$fn$G__8068__8086.invoke(protocols.clj:13)
    at clojure.core$reduce.invokeStatic(core.clj:6824)
    at editor.build$batched_pmap.invokeStatic(build.clj:23)
    at editor.build$build_project_BANG_.invokeStatic(build.clj:52)
    at editor.app_view$build_project_BANG_.invokeStatic(app_view.clj:815)
    at editor.app_view$async_build_BANG_$phase_3_build_project_BANG___58967$run_project_build_on_background_thread_BANG___58968.invoke(app_view.clj:1043)
    at editor.app_view$async_build_BANG_$run_on_background_thread_BANG___58920$fn.invoke(app_view.clj:927)
    at clojure.core$binding_conveyor_fn$fn.invoke(core.clj:2030)
    at clojure.lang.AFn.call(AFn.java:18)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run(Thread.java:829)

clojure.lang.RT.seqFrom.class java.lang.IllegalArgumentException: Don't know how to create ISeq from: java.lang.Double
    at clojure.lang.RT.seqFrom(RT.java:553)
    at clojure.lang.RT.seq(RT.java:533)
    at clojure.lang.RT.cons(RT.java:683)
    at clojure.core$cons__5361.invokeStatic(core.clj:29)
    at clojure.core$list_STAR_.invokeStatic(core.clj:648)
    at clojure.core$apply.invokeStatic(core.clj:660)
    at editor.properties$clj_value__GT_go_prop_value.invokeStatic(properties.clj:214)
    at editor.properties$property_entry__GT_go_prop.invokeStatic(properties.clj:604)
    at editor.properties$property_entry__GT_go_prop.invoke(properties.clj:601)
    at clojure.core$keep$fn$fn.invoke(core.clj:7325)
    at clojure.lang.ArraySeq.reduce(ArraySeq.java:111)
    at clojure.core$transduce.invokeStatic(core.clj:6883)
    at clojure.core$into.invokeStatic(core.clj:6899)
    at editor.game_object$fn.invokeStatic(game_object.clj:329)
    at editor.game_object$fn.invoke(game_object.clj:325)
    at clojure.lang.AFn.applyToHelper(AFn.java:154)
    at clojure.lang.AFn.applyTo(AFn.java:144)
    at clojure.lang.AFunction$1.doInvoke(AFunction.java:31)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.lang.Var.invoke(Var.java:384)
    at editor.game_object$ReferencedComponent$behavior$ddf_properties$fn.invoke(game_object.clj:257)
    at internal.node$trace_expr$fn.invoke(node.clj:38)
    at internal.node$trace_expr.invokeStatic(node.clj:38)
    at editor.game_object$ReferencedComponent$behavior$ddf_properties.invokeStatic(game_object.clj:257)
    at editor.game_object$ReferencedComponent$behavior$ddf_properties.invoke(game_object.clj:257)
    at clojure.lang.Var.invoke(Var.java:393)
    at internal.node.NodeImpl.produce_value(node.clj:295)
    at editor.game_object$ReferencedComponent$behavior$ddf_message$fn.invoke(game_object.clj:257)
    at internal.node$trace_expr$fn.invoke(node.clj:38)
    at internal.node$trace_expr.invokeStatic(node.clj:38)
    at editor.game_object$ReferencedComponent$behavior$ddf_message.invokeStatic(game_object.clj:257)
    at editor.game_object$ReferencedComponent$behavior$ddf_message.invoke(game_object.clj:257)
    at clojure.lang.Var.invoke(Var.java:393)
    at internal.node.NodeImpl.produce_value(node.clj:295)
    at editor.game_object$ReferencedComponent$behavior$build_targets$fn.invoke(game_object.clj:257)
    at internal.node$trace_expr$fn.invoke(node.clj:38)
    at internal.node$trace_expr.invokeStatic(node.clj:38)
    at editor.game_object$ReferencedComponent$behavior$build_targets.invokeStatic(game_object.clj:257)
    at editor.game_object$ReferencedComponent$behavior$build_targets.invoke(game_object.clj:257)
    at clojure.lang.Var.invoke(Var.java:393)
    at internal.node.NodeImpl.produce_value(node.clj:295)
    at internal.node$node_value.invokeStatic(node.clj:454)
    at internal.system$node_value.invokeStatic(system.clj:354)
    at dynamo.graph$do_node_value.invokeStatic(graph.clj:825)
    at dynamo.graph$node_value.invokeStatic(graph.clj:828)
    at editor.build$build_project_BANG_$fn.invoke(build.clj:53)
    at clojure.core$map$fn.invoke(core.clj:2755)
    at clojure.lang.LazySeq.sval(LazySeq.java:42)
    at clojure.lang.LazySeq.seq(LazySeq.java:51)
    at clojure.lang.Cons.next(Cons.java:39)
    at clojure.lang.RT.next(RT.java:709)
    at clojure.core$next__5371.invokeStatic(core.clj:64)
    at clojure.core$dorun.invokeStatic(core.clj:3142)
    at clojure.core$doall.invokeStatic(core.clj:3148)
    at editor.build$batched_pmap$fn.invoke(build.clj:25)
    at clojure.core$pmap$fn$fn.invoke(core.clj:7022)
    at clojure.core$binding_conveyor_fn$fn.invoke(core.clj:2030)
    at clojure.lang.AFn.call(AFn.java:18)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run(Thread.java:829)

@vlaaad vlaaad added the editor Issues related to the Defold editor label Jun 7, 2023
@vlaaad
Copy link
Contributor

vlaaad commented Jun 7, 2023

I managed to reproduce this issue with following steps:

  1. create a script file with go.property("foo", 12)
  2. use the script file in a collection and override the property value, e.g. to 123
  3. edit the script file to instead contain go.property("foo", vmath.vector3())

@AGulev AGulev added the lua Issues related to the use of Lua label May 3, 2024
@AGulev
Copy link
Contributor

AGulev commented May 3, 2024

duplicate #8873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Issues related to the Defold editor lua Issues related to the use of Lua
Projects
None yet
Development

No branches or pull requests

3 participants