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.util.MissingFormatArgumentException: Format specifier '%s' #8873

Open
zendorx opened this issue May 1, 2024 · 1 comment
Open

java.util.MissingFormatArgumentException: Format specifier '%s' #8873

zendorx opened this issue May 1, 2024 · 1 comment
Labels
bug Something is not working as expected editor Issues related to the Defold editor quick win?

Comments

@zendorx
Copy link

zendorx commented May 1, 2024

Expected behaviour

No error after property type changing

Actual behaviour

Error appears while saving file with changed property and file stays not saved

Steps to reproduce

  1. Create property with vector3 go.property("ambient_color", vmath.vector3(1.0, 1.0, 1.0))
  2. Save/Run
  3. rename vector3 to vector4 and add fourth parameter
  4. Press save (cmd+s) and error appears

Build time2024-04-25T16:30:24.874132
Defold channeleditor-alpha
Defold editor sha6ff357f
Defold engine shafd3b8c6
Defold version1.8.0
Errorc88569bfbf294755910438be8b409f20
GPUAMD Radeon Pro 560X OpenGL Engine
GPU Driver2.1 ATI-4.9.48
Java version17.0.5+8
OS archx86_64
OS nameMac OS X
OS version13.0
@AGulev
Copy link
Contributor

AGulev commented May 3, 2024

java.util.Formatter.format.class java.util.MissingFormatArgumentException: Format specifier '%s'
    at java.util.Formatter.format(Formatter.java:2688)
    at java.util.Formatter.format(Formatter.java:2625)
    at java.lang.String.format(String.java:4143)
    at clojure.core$format.invokeStatic(core.clj:5744)
    at clojure.core$format.doInvoke(core.clj:5738)
    at clojure.lang.RestFn.applyTo(RestFn.java:139)
    at clojure.core$apply.invokeStatic(core.clj:667)
    at editor.properties$clj_value__GT_go_prop_value.invokeStatic(properties.clj:216)
    at editor.properties$property_entry__GT_go_prop.invokeStatic(properties.clj:626)
    at editor.properties$property_entry__GT_go_prop.invoke(properties.clj:623)
    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:333)
    at editor.game_object$fn.invoke(game_object.clj:329)
    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:830)
    at dynamo.graph$node_value.invokeStatic(graph.clj:833)
    at editor.build$build_project_BANG_$fn.invoke(build.clj:52)
    at editor.build$build_project_BANG_.invokeStatic(build.clj:52)
    at editor.app_view$build_project_BANG_.invokeStatic(app_view.clj:905)
    at editor.app_view$async_build_BANG_$phase_3_build_project_BANG___64163$run_project_build_on_background_thread_BANG___64164.invoke(app_view.clj:1133)
    at editor.app_view$async_build_BANG_$run_on_background_thread_BANG___64116$fn.invoke(app_view.clj:1017)
    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:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(Thread.java:833)

@britzl britzl added bug Something is not working as expected editor Issues related to the Defold editor quick win? labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected editor Issues related to the Defold editor quick win?
Projects
None yet
Development

No branches or pull requests

3 participants