# S09009 {#S09009}

## Error Code {#error_code .section}

S09009

## Error Message {#error_message .section}

`JIT: Inferring return type failed. The return value cannot be NULL. RefId: S09009`

## Probable Causes {#probable_causes .section}

This error occurs when the return value of a JIT function is NULL. For example:

``` {#codeblock_unc_dzl_jcc}
@jit
def demo() {
	return
}
demo()
```

## Solutions {#solutions .section}

Ensure that the JIT function does not return NULL.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

