Skip to content

Cmp plugin error #934

Closed as duplicate
Closed as duplicate

Description

@quinnpinn-byte

any time i try to export or open a cmp file it gives me this error message. All it told me to do is report it too github.
This doesnt happen on my laptop only my desktop. Im running Linux on both. Both the plugin and block-bench version are the same on the 2 machines.

Error while exporting:
TypeError: Cannot read properties of undefined (reading 'i')
at ywc (PLUGINS/(Plugin):cpm_plugin.js:2860:1317)
at new com.tom.cpm.shared.editor.Editor.drawPixel$lambda(Editor.java:338) (PLUGINS/(Plugin):cpm_plugin.js:2936:16)
at com.tom.cpm.blockbench.convert.ProjectConvert.compile(ProjectConvert.java:36) (PLUGINS/(Plugin):cpm_plugin.js:2000:140)
at com.tom.cpm.blockbench.convert.ProjectConvert.parse$lambda$lambda$lambda(ProjectConvert.java:94) (PLUGINS/(Plugin):cpm_plugin.js:2001:62)
at com.tom.cpm.blockbench.format.CPMCodec.init$lambda(CPMCodec.java:60) (PLUGINS/(Plugin):cpm_plugin.js:2155:52)
at com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang.Runtime(Runtime.java:206) (PLUGINS/(Plugin):cpm_plugin.js:18:47)
at com.tom.cpm.blockbench.BBActions.load(BBActions.java:188) (PLUGINS/(Plugin):cpm_plugin.js:1667:63)
at com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang.Runtime(Runtime.java:206) (PLUGINS/(Plugin):cpm_plugin.js:18:47)
at Md.click.t.click.click (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:20596)
at Md.trigger (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:22344)
at HTMLLIElement. (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:21413)
Platform: undefined

Error while importing:
TypeError: Cannot read properties of undefined (reading 'i')
at ywc (PLUGINS/(Plugin):cpm_plugin.js:2860:1317)
at new com.tom.cpm.shared.editor.Editor.drawPixel$lambda(Editor.java:338) (PLUGINS/(Plugin):cpm_plugin.js:2936:16)
at com.tom.cpm.blockbench.convert.ProjectConvert.parse(ProjectConvert.java:83) (PLUGINS/(Plugin):cpm_plugin.js:2009:25)
at elemental2.promise.Promise.resolve(Promise.java:147) (PLUGINS/(Plugin):cpm_plugin.js:2036:47)
at com.tom.cpm.web.client.render.RenderSystem.init0(RenderSystem.java:172) (PLUGINS/(Plugin):cpm_plugin.js:7110:81)
at com.tom.cpm.blockbench.convert.ProjectConvert.viewInBB(ProjectConvert.java:164) (PLUGINS/(Plugin):cpm_plugin.js:2011:123)
at com.tom.cpm.blockbench.convert.ProjectConvert.export(ProjectConvert.java:139) (PLUGINS/(Plugin):cpm_plugin.js:2025:113)
at com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang.Runtime(Runtime.java:206) (PLUGINS/(Plugin):cpm_plugin.js:18:47)
at file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3303:61871
at Array.forEach ()
at e (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3303:61002)
at Object.i (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3303:60161)
at com.tom.cpm.blockbench.convert.ProjectConvert.saveToBlob(ProjectConvert.java:57) (PLUGINS/(Plugin):cpm_plugin.js:2010:157)
at com.tom.cpm.blockbench.BBActions.load(BBActions.java:130) (PLUGINS/(Plugin):cpm_plugin.js:1661:53)
at com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang.Runtime(Runtime.java:206) (PLUGINS/(Plugin):cpm_plugin.js:18:47)
at Md.click.t.click.click (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:20596)
at Md.trigger (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:22344)
at HTMLLIElement. (file:///opt/Blockbench/resources/app.asar/dist/bundle.js:3328:21413)
Platform: undefined

Activity

  1. Noxialisss commented on Feb 12, 2026

    @Noxialisss

    I'm also having this issue, only started a few days ago, super strange TuT

  2. tom5454 commented on Feb 12, 2026

    @tom5454
    Owner

    Update the plugin
    https://cpmweb.tom5454.com/blockbench/new/cpm_plugin.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions