Skip to content

java.lang.reflect.InvocationTargetException #2

@pqw71647

Description

@pqw71647

I followed your instructions except I create project in netbeans. But it cause this error (when sign in):

Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774)
.
.
.
at com.codetreatise.service.impl.UserServiceImpl.findByEmail(UserServiceImpl.java:61)
at com.codetreatise.service.impl.UserServiceImpl.authenticate(UserServiceImpl.java:50)
at com.codetreatise.controller.LoginController.login(LoginController.java:53)

//This function cause java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	@Override
	public User findByEmail(String email) {
		return userRepository.findByEmail(email);
	}

What to do to fix this?

This is full console log.
log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions