Error when clicking select a user icon

Hi,

I have installed the usergroup plugin and when trying to click the "select a user" icon the linked page can not be found 404(/secure/popups/kgrp_userpicker.jsp).

Previously clicking on the link and even typing did not work so I installed the "2.0.7 snapshot" as recommended in https://answers.atlassian.com/questions/126212/usergroup-picker-does-not-popup-or-autocomplete. Now I can type and find users but the select a user still doesnt work but now results in the 404 error.

btw - I am using Jira 5.0.5.

Any help would be greatly appreciated.

Dan

5 answers

1 accepted

I have attached the missing file to this similar issue: http://bugs.kepler-rominfo.com/browse/UGP-20. It should be manually copied into your Jira installation directory under atlassian-jira\secure\popups, if the automatically copy fails during plugin's initialization. It would help if you can send the jira log generated right after the installation of the UGP plugin.

Please check that you have the kgrp_userpicker.jsp file into your Jira installation directory under atlassian-jira\secure\popups. If the file is missing, please reinstall the plugin via the Universal Plugin Manager. The missing file should be automatically copied into the right location during plugin initialization.
Please let me know if the problem persists.

Hi,

Unfortunatly I do not have access to the filesystem to check whether the file is there, although removing and re-installing the plugin has no effect.

Thanks in advance

Dan

I have also had this installed in our other environment and am suffering from the same issue. Note this is Jira 5.1.

I've experienced the same problem in both my base JIRA install (8080), and in my sdk container (2990) when trying to develop another custom plugin. In order to keep the error messages straight, I will post two different answers. If you would like further logs, or would like me to post direct to the KR site, I would be happy to help.

Info for the base JIRA install (8080)

Uninstalling and re-installing did not fix the problem, but copying the kgrp_userpicker.jsp (provided above by Alexandru) to the prescribed location did fix it for this instance.

Here is a snippet from the catalina.out log:

2013-02-08 14:34:33,875 main ERROR      [jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator] Cannot copy the JSP. Error was:java.io.FileNotFoundException: /opt/atlassian/jira/atlassian-jira/secure/popups/kgrp_userpicker.jsp (Permission denied)
java.io.FileNotFoundException: /opt/atlassian/jira/atlassian-jira/secure/popups/kgrp_userpicker.jsp (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at com.keplerrominfo.jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator.copyJSPFile(UserPickerBrowserBundleActivator.java:141)
        at com.keplerrominfo.jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator.start(UserPickerBrowserBundleActivator.java:67)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:633)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1817)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
        at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
        at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
        at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
        at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
        at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:727)
        at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:180)
        at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
        at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:663)
        at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:216)
        at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:209)
        at com.atlassian.jira.ComponentManager.start(ComponentManager.java:194)
        at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)
        at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:101)
        at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:284)
        at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:169)
        at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:94)
        at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:24)
        at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:61)
        at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33)
        at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:56)
        at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:67)
        at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:62)
        at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)
        at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)
        at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)
        at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)
        at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)
        at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)
        at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203)
        at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:95)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2013-02-08 14:34:34,293 main ERROR      [jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator] You must manually copy the kgrp_userpicker.jsp into the correct directory (read the manual). Destination path: JIRA-HOME/atlassian-jira/secure/popups/kgrp_userpicker.jsp
2013-02-08 14:34:34,307 main INFO      [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.keplerrominfo.jira.plugins.usergrouppicker], 60 seconds remaining
2013-02-08 14:34:35,452 main INFO      [atlassian.plugin.manager.DefaultPluginManager] Plugin system started in 0:00:32.854
2013-02-08 14:34:35,502 main INFO      [atlassian.jira.startup.JiraStartupLogger]

___ Plugin System Started _________________

My versions:

JIRA - 5.1.5

UGP - 2.0.6

OS - Ubuntu 10.04, i686

JRE - Java(TM) SE Runtime Environment (build 1.6.0_38-b05)

There was more confusion when using the UGP plugin with my custom plugin in the sdk container since the JIRA-HOME doesn't exist so conveniently as it does in the base install.

Info for the SDK container (2990):

This fix here was to copy the kgrp_userpicker.jsp to the expected source directory ./target/container/tomcat6x/apache-tomcat-6.0.20/atlassian-jira/secure/popups. This required the creation of the atlassian-jira/secure/popups path as well. This is in contrast to the solution above where we had to copy to the expected destination instead.

A snippet from the console messages from atlas-run -e:

This looks basically the same as that above, included it for completeness.

[INFO] [talledLocalContainer] 2013-02-08 11:32:04,548 main ERROR      [jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator] Cannot copy the JSP. Error was:java.io.FileNotFoundException: /opt/plexus/plugins/jira-sandbox/target/container/tomcat6x/apache-tomcat-6.0.20/atlassian-jira/secure/popups/kgrp_userpicker.jsp (No such file or directory)
[INFO] [talledLocalContainer] java.io.FileNotFoundException: /opt/plexus/plugins/jira-sandbox/target/container/tomcat6x/apache-tomcat-6.0.20/atlassian-jira/secure/popups/kgrp_userpicker.jsp (No such file or directory)
[INFO] [talledLocalContainer]   at java.io.FileOutputStream.open(Native Method)
[INFO] [talledLocalContainer]   at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
[INFO] [talledLocalContainer]   at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
[INFO] [talledLocalContainer]   at com.keplerrominfo.jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator.copyJSPFile(UserPickerBrowserBundleActivator.java:141)
[INFO] [talledLocalContainer]   at com.keplerrominfo.jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator.start(UserPickerBrowserBundleActivator.java:67)
[INFO] [talledLocalContainer]   at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:633)
[INFO] [talledLocalContainer]   at org.apache.felix.framework.Felix.activateBundle(Felix.java:1817)
[INFO] [talledLocalContainer]   at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
[INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
[INFO] [talledLocalContainer]   at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:727)
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:180)
[INFO] [talledLocalContainer]   at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
[INFO] [talledLocalContainer]   at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:663)
[INFO] [talledLocalContainer]   at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:216)
[INFO] [talledLocalContainer]   at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:209)
[INFO] [talledLocalContainer]   at com.atlassian.jira.ComponentManager.start(ComponentManager.java:194)
[INFO] [talledLocalContainer]   at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:101)
[INFO] [talledLocalContainer]   at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:284)
[INFO] [talledLocalContainer]   at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:169)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:94)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:24)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:61)
[INFO] [talledLocalContainer]   at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:56)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:67)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:62)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203)
[INFO] [talledLocalContainer]   at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:95)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
[INFO] [talledLocalContainer]   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
[INFO] [talledLocalContainer]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] [talledLocalContainer]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] [talledLocalContainer]   at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
[INFO] [talledLocalContainer] 2013-02-08 11:32:04,558 main ERROR      [jira.plugins.usergrouppicker.UserPickerBrowserBundleActivator] You must manually copy the kgrp_userpicker.jsp into the correct directory (read the manual). Destination path: JIRA-HOME/atlassian-jira/secure/popups/kgrp_userpicker.jsp
[INFO] [talledLocalContainer] 2013-02-08 11:32:04,754 main INFO      [atlassian.plugin.manager.DefaultPluginManager] Plugin system started in 0:00:27.136
[INFO] [talledLocalContainer] 2013-02-08 11:32:04,759 main INFO      [atlassian.jira.startup.JiraStartupLogger]
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] ___ Plugin System Started _________________

My versions:

SDK 4.1.4

We just installed the plugin this evening using the UPM and encountered the exact same problem. I setup custom fields based on roles. When you click no the user selecter icon, you get this same error. Have submitted a request to our IT to see if installing the file will resolve our issue as well.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you