Google Calendar

Hello i follow instructions in the documentation, but when i do test . i have a error :

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.bonitasoft.engine.connector.exception.SConnectorException: org.bonitasoft.engine.connector.ConnectorException: java.lang.NullPointerException

![imagen1][imagen1]
[imagen1]: http://s16.postimg.org/y28q5m3md/imagen.jpg

So , i dont what is the error.

Thx for the help.

Hi,
Can you go in the studio logs (Help->Studio) ? you will find a more complete stacktrace of what happens.

I’m also interested in why the user is INSTALL. This is not a normal user and shouldn’t be used for running processes.

I dont not why the user is install. But i dont modify anything.

@Sean Mcp
The user is “install” because when you test a connector a “dummy” process with the connector is deployed and the studio uses the “install” user as it is the “technical user” (always available)

Thanks Romain, now I understand

regards

aNYONE PLEASE FOR THE CONNECTOR GOOGLE CALENDAR…

I got the same problem using minimal mandatory fields and the stack trace ended as below. Seems something missing :
at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
at com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:127)
at com.google.api.client.json.jackson2.JacksonFactory.createJsonParser(JacksonFactory.java:96)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:85)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)
at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:88)
at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:287)
at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:268)
at com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
at com.google.api.client.auth.oauth2.Credential.intercept(Credential.java:217)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:859)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at org.bonitasoft.connectors.google.calendar.CreateEventConnector.doJobWithCalendarEvents(CreateEventConnector.java:46)
at org.bonitasoft.connectors.google.calendar.common.CalendarConnector.executeBusinessLogic(CalendarConnector.java:105)