#1 2020-09-13 05:28:37

dev404
Member
Registered: 2019-03-01

Unable to create user - The operation could not be executed.

Hi Admin,

I would like to ask how to resolve this issue, i am just creating a user.

See below error details. I am using RS3.2.0-6027 Community Edition


Thank you in advance

java.lang.NullPointerException<br>    at javax.mail.internet.InternetAddress.parse(InternetAddress.java:673)<br>    at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)<br>    at javax.mail.internet.InternetAddress.&lt;init&gt;(InternetAddress.java:111)<br>    at net.datenwerke.rs.core.service.mail.SimpleMail.setXXRecipients(SimpleMail.java:213)<br>    at net.datenwerke.rs.core.service.mail.SimpleMail.setToRecipients(SimpleMail.java:181)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.notificationEmail(UserManagerTreeHandlerImpl.java:129)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.doUpdateNode(UserManagerTreeHandlerImpl.java:107)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.doUpdateNode(UserManagerTreeHandlerImpl.java:1)<br>    at net.datenwerke.security.server.TreeDBManagerTreeHandler.updateNode(TreeDBManagerTreeHandler.java:643)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl.updateNode(UserManagerTreeHandlerImpl.java:161)<br>    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>    at java.lang.reflect.Method.invoke(Method.java:498)<br>    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)<br>    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)<br>    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)<br>    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)<br>    at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)<br>    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)<br>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)<br>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)<br>    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)<br>    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)<br>    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)<br>    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)<br>    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)<br>    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>    at java.lang.Thread.run(Thread.java:748)<br>

Last edited by dev404 (2020-09-13 05:30:20)

Offline

#2 2020-09-14 07:16:03

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Unable to create user - The operation could not be executed.

Hi dev404,

this is just a small bug (RS-4294) which will be fixed with the next ReportServer version. If your user has an email address, the user creation should work, the only current problem is when you leave the email field empty.

Regards,
Eduardo

Offline

#3 2020-09-17 10:01:14

DISSTeam
Member
Registered: 2020-09-11

Re: Unable to create user - The operation could not be executed.

Hello,

We are also having this issue. Testing on a server - where we don't intend to yet set up a mail server, we cannot create users easily or at least we cannot update the information of the user unless we do it in the DB. And it proves impossible to set the password.

It doesn't seem to store the details as it is trying to send an email.

Can we remove the need for an email to be sent for those servers which do not want to link to a mail server?

Offline

#4 2020-09-18 12:33:59

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Unable to create user - The operation could not be executed.

Hello DISSTeam,

for the moment, this is the workaround: just include a dummy-email address into the field. You don't have to set up an email server, you can just use an existing one: https://reportserver.net/en/guides/conf … il-mailcf/

Even if you don't configure this, but include a dummy email address during user creation, this should allow you to create the user without any problem. As I mentioned, this is a temporary issue and will be fixed in the next ReportServer version, scheduled to be released in the next weeks.

Regards,
Eduardo

Offline

#5 2020-09-25 12:47:05

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Unable to create user - The operation could not be executed.

Hi,

we released ReportServer 3.3.0 today. In this version, RS-4294 is fixed.

The release notes can be found here: https://reportserver.net/releasenotes/RS3.3.0.html

Regards,

Eduardo

Offline

Board footer

Powered by FluxBB