Skip to content

JNI HAL crash when using OpModeRobot #250

@serivesmejia

Description

@serivesmejia

Describe the bug
Robot code goes into a crash loop when using OpModeRobot, upon inspection using the SystemCore web terminal, numerous .log files were found in the working directory displaying a HAL exception at the JNI level. One of the files was attached below.

hs_err_pid284075.log

To Reproduce
Steps to reproduce the behavior:

  1. Download and Install WPILib Alpha 5
  2. Open VS Code and create a new project with the OpModes template
  3. Deploy code to a real SystemCore (issue was not present in Simulation)
  4. Driver station reports no robot code

Expected behavior
Robot code should start normally while being able to run OpModes

Desktop (please complete the following information):

  • OS: Windows 11
  • Project Information:
    WPILib Information:
    Project Version: unknown
    VS Code Version: 1.116.0
    WPILib Extension Version: 2027.0.0-alpha-5
    Project Year: 2027_alpha5
    Language: java
    C++ Extension Version: 1.31.4
    Java Extension Version: 1.54.0
    Java Debug Extension Version: 0.59.0
    Java Dependencies Extension Version 0.27.2
    Java Version: 25
    Java Location: C:\Users\Public\wpilib\2027_alpha5\jdk
    Vendor Libraries:
    Commands v3 (1.0.0)

Additional context
Using a SystemCore delivered to us as a first-wave alpha team back in Summer 2025.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PendingA fix has been made but not yet releasedWPILib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions