Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

start-dialog-001 does not start #21

@morisil

Description

@morisil

Even though I fixed the code of this module to finally compile (issue #19), it still doesn't start:

Exception in thread "main" kotlin.UninitializedPropertyAccessException: lateinit property application has not been initialized
	at org.openrndr.Program.getApplication(Program.kt:43)
	at org.openrndr.Program$mouse$2.invoke(Program.kt:208)
	at org.openrndr.Program$mouse$2.invoke(Program.kt:35)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at org.openrndr.Program.getMouse(Program.kt)
	at Dialog.<init>(Example.kt:17)
	at ExampleKt.main(Example.kt:53)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:131)

It's hard for me to tell the original intention behind this code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions