Skip to content

[v4.0.2 and above] “Cannot find a class or type named ‘PApplet’” error #626

Closed
@processing-bot

Description

Created by: 12people

Description

I’m maintaining an open-source Processing app called FOSStriangulator . It used to compile just fine with every Processing version I’ve tried up until Processing 4.0.2. Now, with Processing 4.0.2 and newer versions, it won’t compile, whereas with 4.0.1, it still does. With the newer versions, it’s giving me this error:

Cannot find a class or type named “PApplet”

It’s also giving me a range of errors, all seemingly random, such as not being able to find classes like PImage, PrintWriter, IntList, etc.

b7ef6f81331173d25768f9451edd4f4254bd2d7b

I looked at the 4.0.2 release notes 1 and I can’t see any change that might be causing the issues.

I originally posted about this on the forum and I was directed to file a bug report here.

Expected Behavior

I was expecting the app to run without a problem, just like it does on all the Processing versions I tried before 4.0.2.

Current Behavior

As described above, running the app on versions 4.0.2 and above gives the Cannot find a class or type named “PApplet” error and fails to run.

Steps to Reproduce

  1. Clone the FOSStriangulator repository.
  2. Open the project up in Processing 4.0.2 or above.
  3. Run the project.

Your Environment

  • Processing version: 4.0.2 and above (I tried every major version)
  • Operating System and OS version: macOS 13.1 on ARM; also independently verified on Linux

Activity

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

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions