Hi, when i want to add user, after write users email i have this error 500.
Sorry for my English.
I need Help!
Referer URL: http://126.96.36.199:8080/secure/admin/user/InviteUser!default.jspa
at com.sun.proxy.$Proxy1539.addInvitation(Unknown Source) [?:?]
at com.atlassian.jira.plugin.inviteuser.InvitationManagerImpl.sendInvitation(InvitationManagerImpl.java:55) [?:?]
at com.atlassian.jira.plugin.inviteuser.InvitationServiceImpl.sendInvitation(InvitationServiceImpl.java:76) [?:?]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784) [tomcat-coyote.jar:8.5.6]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.6]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802) [tomcat-coyote.jar:8.5.6]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410) [tomcat-coyote.jar:8.5.6]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.6]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.6]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]... 281 more
Realizing this question is a bit old, I wanted to follow up to make sure anyone encountering from search found a satisfactory answer.
While it's not 100% clear from the posted logs (the telltale lines would be farther down the error page), the problem here with inviting users is likely the sql_mode setting in MySQL. More details are in this other Community question, but I've copied the resolution here:
This can be resolved by following the steps outlined in this KB article to set the correct sql_mode value in MySQL.
For other databases (Oracle, Microsoft SQL, etc), I would recommend checking the setup guides for connecting Jira to the appropriate DBMS version:
If you create the users and send them an invite email does it work?
The stack trace you provided appears to be incomplete. In most situations the stack trace will be really long and you'll see something such as the following in there:
Caused by: com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
name:Microsoft SQL Server
name:jTDS Type 4 JDBC Driver for MS SQL Server and Sybase
java.sql.SQLException: Cannot insert the value NULL into column 'ID', table 'JIRA_IBEX.dbo.AO_97EDAB_USERINVITATION'; column does not allow nulls. INSERT fails.
If you do see a section such as that one paste it here and we'll go from there.
Additionally you can also paste the entire stack trace into a text message, remove any publicly identifiable information and add the text file as an attachment.
This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events