Ask Your Question
1

What is the reason for the error message "lookup is null" when trying to invoke "com.vaadin.flow.di.Lookup.lookup(java.lang.Class)" in Vaadin?

asked 2021-06-12 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-11-10 12:00:00 +0000

woof gravatar image

The error "lookup is null" occurs when there is no instance of the lookup class available in the Vaadin application or when the class that is being looked up is not found. This could happen if the dependency injection framework is not properly initialized or configured, or if the class being looked up is not registered with the framework. It is important to ensure that all dependencies are properly injected and registered with the lookup framework in order to avoid this error.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-12 11:00:00 +0000

Seen: 9 times

Last updated: Nov 10 '21