oracle/graal · error · IllegalStateException
No instance allowed
Error message
No instance allowed
What it means
Error "No instance allowed" thrown in oracle/graal.
Source
Thrown at sdk/src/org.graalvm.home/src/org/graalvm/home/impl/VmLocatorSymbol.java:53
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.graalvm.home.impl;
import org.graalvm.nativeimage.IsolateThread;
import org.graalvm.nativeimage.c.function.CEntryPoint;
import org.graalvm.nativeimage.c.function.CEntryPointLiteral;
import org.graalvm.nativeimage.c.function.CFunctionPointer;
final class VmLocatorSymbol {
static final CEntryPointLiteral<CFunctionPointer> SYMBOL = CEntryPointLiteral.create(VmLocatorSymbol.class, "vmLocatorSymbol", IsolateThread.class);
private VmLocatorSymbol() {
throw new IllegalStateException("No instance allowed");
}
@CEntryPoint(name = "graal_vm_locator_symbol", publishAs = CEntryPoint.Publish.SymbolOnly)
@SuppressWarnings("unused")
private static void vmLocatorSymbol(IsolateThread thread) {
}
}
View on GitHub (pinned to a66e9ccd1d)
Solutions
- Fix the condition reported by the error: No instance allowed
- Check the throwing call site and ensure its documented preconditions (argument values, types, environment, or configuration) are satisfied before the call.
Example fix
Validate inputs and environment so that the failing condition does not occur: No instance allowed
When it happens
Trigger: Thrown at sdk/src/org.graalvm.home/src/org/graalvm/home/impl/VmLocatorSymbol.java:53 when the library encounters an invalid state.
Common situations: Occurs when a caller violates the contract guarded by this check: No instance allowed
AI-assisted analysis of oracle/graal@a66e9ccd1d (2026-08-14).
Data as JSON: /api/errors/e36bf1b7beefca45.
Report an issue: GitHub.