This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
NPE in setApplicationUrl using POJO construction #129
Comments
There is the exact same bug on ConnectController |
I am facing the exact same problem. What to do? |
Did anyone fixed it.. This is probably the reason why I am getting incorrect URI errors on "Google & Linkedin" . any timeline for fixing this ? |
I had to fix it like this:
|
Other workaround for ConnectController ( v1.1.0-RELEASE) @Bean
public ConnectController connectController(ConnectionFactoryLocator connectionFactoryLocator, ConnectionRepository connectionRepository) throws Exception {
ConnectController connectController = new ConnectController(connectionFactoryLocator, connectionRepository);
connectController.afterPropertiesSet();
connectController.setApplicationUrl(applicationURL);
return connectController;
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This was working fine in 1.0.3.
Pretty much as per your documentation, wrapped in a method annotated
@Bean
and in a class annotated@Configuration
.I did not now expect the following stacktrace:
(Our boring code omitted).
Basically
setApplicationUrl()
now expectsafterPropertiesSet()
to have been already called. Within POJO construction this is not the case.Unable to proceed, unless I've again got something badly misunderstood here.
The text was updated successfully, but these errors were encountered: