Tweak mode not working?

Whenever i try the tweak functionality i get a red bar and this in the console:

java.lang.ClassCastException: processing.app.RunnerListenerEdtAdapter cannot be cast to processing.mode.java.JavaEditor
	at processing.mode.java.JavaMode.handleTweak(JavaMode.java:145)
	at processing.mode.java.JavaEditor.lambda$0(JavaEditor.java:1101)
	at java.lang.Thread.run(Thread.java:748)

how can i fix this? tried deleting the processing folder and reinstalling. Nothing.
Have the android mode installed, extended code completion and the “getting strarted 2nd edition” examples…

Edit: Maybe the devs disabled it because of this

I can verify this problem on mac laptop. Version 3.3.5 still works in tweak mode (and perhaps later versions) if you’re looking for a quick fix.

I had the same problem when I was using 3.5.2, the latest version.
I “downgraded” to an older version, the 3.4 and it works.

2 Likes

Same, tweak mode only works in 3.4 not the newest version on my Mac.
And thanks for sharing the info, solved my problem!

How did you downgrade to 3.4? I tried downloading the earlier version but it does not include an exe.

You do not down grade in the literal sense (because this app/software does not install in the traditional way on Windows at least; you just unzip it).
You just download the older version (under the Stable Releases List) from the download page:
https://processing.org/download/
Unzip, replace or delete the version you had and open 3.4, that’s it.

Good luck :smiley:

2 Likes