Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1263

Invalid format strings no longer crash applications

Status
Fixed
Fixed in
v26.8.6
Source discussion
https://forum.objo.dev/d/917-string-format-gives-crash-exited-with-code-1
Last updated
2026-08-29

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Double.ToString(format), Integer.ToString(format), and DateTime.ToString(format) along with their locale overloads pass an invalid user-supplied format string such as D2 on a Double straight through to .NET. .NET throws System.FormatException, which escapes the VM and is reported by the desktop host as a fatal VM exception, terminating the application with exit code 1. Invalid format strings must instead raise a normal, source-mapped, catchable Objo InvalidArgumentException so an application can present a friendly error instead of crashing.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.