Getting this error when trying to do a re-index:Technical detailsLog's referral number: 966feac7-fe16-4006-b6ac-7f8f2d8b27d4CauseReferer URL: http://sundown.swpayroll.local:8080/secure/admin/jira/IndexProgress.jspa?taskId=12901java.lang.NullPointerExceptionjava.lang.NullPointerExceptionat com.atlassian.jira.web.action.admin.index.IndexAdminImpl.doProgress(IndexAdminImpl.java:395)at sun.reflect.GeneratedMethodAccessor34399.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438)at webwork.action.ActionSupport.execute(ActionSupport.java:157)at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:88)at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225)at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154)at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152)at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:87)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22)at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)...
That's a lot to parse through, but I think the important bit is this:
2018-06-13 19:50:17,058 IssueIndexer:thread-2 WARN jschock 1185x192x1 cwe81y 10.10.10.5 /secure/admin/IndexReIndex.jspa [atlassian.jira.index.AccumulatingResultBuilder] java.io.FileNotFoundException: E:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\issues\_1lc.fdt (Operation did not complete successfully because the file contains a virus or potentially unwanted software)com.atlassian.jira.util.RuntimeIOException: java.io.FileNotFoundException: E:\Program Files\Atlassian\Application Data\JIRA\caches\indexes\issues\_1lc.fdt (Operation did not complete successfully because the file contains a virus or potentially unwanted software)
Which indicates to me, there is some other application on this system (most likely an antivirus product like mcafee or symantec) that is messing up your indexes that Jira is trying to create. Since there is a java.io.FileNotFoundException, that part tells us that something on the system has quarantined or removed this file. I am inclined to believe this is a false positive on the part of the antivirus product.
Please see the KB: Anti-Virus in JIRA applications
We know that running these kinds of application can directly interfere with Jira's operations. Some more so than others. If you can't completely remove the antivirus from this system, then I would strongly suggest that you at least exclude the $JIRAHOME and $JIRAINSTALL directories on your system so that Jira can continue to operate without encountering this particular error.
Sorry this error does not provide a clear source of this problem yet. I'd recommend trying to follow the steps in this KB: Unable to rebuild JIRA application indexes
Stop JIRA Make a backup of the following directory and all its sub-directories: $JIRA_HOME/caches/indexes Remove that directory and all its sub-directories: $JIRA_HOME/caches/indexes This will be rebuilt when JIRA is re-indexed Start JIRA Perform a locked/full re-index of JIRA
Make a backup of the following directory and all its sub-directories:
$JIRA_HOME/caches/indexes
Remove that directory and all its sub-directories:
This will be rebuilt when JIRA is re-indexed
These steps should be enough to let Jira recreate these indexes fresh if the indexes themselves are corrupted. Try these steps, and if you are still seeing problem with recreating the indexes, I would want to see more information from your logs to better understand what might cause this.
Performed the above steps and on completion of step 5, received a similar error (see snippet below):
Technical details
Log's referral number: 387d05c4-25e1-4b71-b743-539e4d965793
Referer URL: http://sundown.swpayroll.local:8080/secure/admin/jira/IndexProgress.jspa?taskId=13000
java.lang.NullPointerException
java.lang.NullPointerException at com.atlassian.jira.web.action.admin.index.IndexAdminImpl.doProgress(IndexAdminImpl.java:395) at sun.reflect.GeneratedMethodAccessor691.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:88) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.jira.web.filters.XContentTypeOptionsNoSniffFilter.doFilter(XContentTypeOptionsNoSniffFilter.java:22) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.jira.onboarding.postsetup.ui.PostSetupAnnouncementsFilter.doFilter(PostSetupAnnouncementsFilter.java:61) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.jira.tzdetect.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:40) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.jira.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:38) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:78) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:70) at com.atlassian.servicedesk.internal.web.RedirectExternalCustomerToPortalFilter.doFilter(RedirectExternalCustomerToPortalFilter.scala:18) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
Rather than just focusing on that specific stacktrace, I'd like to see what is in the rest of the $JIRAHOME/log/atlassian-jira.log file at this time and just before. This should help us understand more about this problem and what might be causing this.
See below (part 1):
2018-06-13 19:43:06,636 localhost-startStop-1 INFO [jira.upgrade.util.BuildNumberDao] Setting current version to 6.4.82018-06-13 19:43:06,646 localhost-startStop-1 INFO [jira.upgrade.util.BuildNumberDao] Setting downgrade version to 6.3.122018-06-13 19:43:06,671 localhost-startStop-1 INFO [jira.whatsnew.listeners.WhatsNewUpgradeFinishedListenerImpl] Enabling show-whats-new-flag for all users2018-06-13 19:43:06,701 localhost-startStop-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Returned module for key 'com.atlassian.jira.welcome.jira-welcome-plugin:show-whats-new-flag' was null. Not enabling.2018-06-13 19:43:07,361 UpmScheduler:thread-1 WARN anonymous [atlassian.jira.security.GlobalPermissionsCache] Could not add permission Global Permission: [group=administrators][permissionKey=ADMINISTER] - it already existed?2018-06-13 19:43:07,386 UpmScheduler:thread-1 WARN anonymous [atlassian.jira.security.GlobalPermissionsCache] Could not add permission Global Permission: [group=administrators][permissionKey=ADMINISTER] - it already existed?2018-06-13 19:43:07,401 UpmScheduler:thread-1 WARN anonymous [atlassian.jira.security.GlobalPermissionsCache] Could not add permission Global Permission: [group=confluence-administrators][permissionKey=SYSTEM_ADMIN] - it already existed?2018-06-13 19:43:08,521 localhost-startStop-1 INFO [timedpromise.internal.bootstrap.TimedPromiseLauncher] Timed Promises is initializing...2018-06-13 19:43:08,626 localhost-startStop-1 INFO [timedpromise.internal.bootstrap.TimedPromiseLauncher] Timed Promises is initialized.2018-06-13 19:43:08,757 UpmScheduler:thread-1 WARN anonymous [atlassian.upm.pac.PacClientImpl] Update check request may take longer because of the number of add-ons2018-06-13 19:43:19,987 Modification Check:thread-1 INFO [atlassian.jira.startup.JiraStartupLogger]
___ Modifications ___________________________
Modified Files : jira-application.properties, seraph-config.xmlRemoved Files : None
2018-06-13 19:43:25,017 localhost-startStop-1 INFO [plugins.hipchat.service.HipChatPluginLauncher] HipChat Plugin launched successfully2018-06-13 19:43:29,098 localhost-startStop-1 INFO [ext.bamboo.service.PlanStatusUpdateServiceImpl] Job 'com.atlassian.jira.plugin.ext.bamboo.service.PlanStatusUpdateServiceImpl:job' scheduled to run every 60000ms2018-06-13 19:43:29,133 localhost-startStop-1 INFO [automation.internal.bootstrap.AutomationPluginLauncher] Service Desk Automation Plugin is starting...2018-06-13 19:43:35,098 localhost-startStop-1 INFO [automation.internal.bootstrap.AutomationPluginLauncher] Service Desk Automation Plugin is started.2018-06-13 19:43:35,108 localhost-startStop-1 INFO [plugins.dvcs.scheduler.DvcsScheduler] DvcsScheduler job handler registered2018-06-13 19:43:35,143 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
*********************************************************************************JIRA ServiceDesk v2.5.9 #DevVersion built 2015-10-13T00:54:57.908-05:00 - Starting initialisation...*********************************************************************************
2018-06-13 19:43:35,148 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Checking licensing...2018-06-13 19:43:35,148 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Checking for add on downgrade...2018-06-13 19:43:35,153 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Initialising ActiveObjects support and running AO upgrade tasks...2018-06-13 19:43:35,158 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Running add on upgrade tasks...2018-06-13 19:43:35,208 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
*********************************************************************************JIRA ServiceDesk v2.5.9 #DevVersion built 2015-10-13T00:54:57.908-05:00 -Description : JIRA Service Desk (Server) 3 Agents: Starter LicenseType : COMMERCIALValid : trueMaintenance Expiry : 02-08-2018Maximum Users : 3Organisation : NetchexSEN : SEN-5509673*********************************************************************************
2018-06-13 19:43:35,218 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Loading dynamic modules...2018-06-13 19:43:44,994 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Registering event listeners...2018-06-13 19:43:44,999 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Adding customer fields support...2018-06-13 19:43:45,161 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Adding Service Desk Request Participants custom field...2018-06-13 19:43:45,299 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Invalidating look and feel cache...2018-06-13 19:43:45,334 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Adding auto watch handler...2018-06-13 19:43:45,339 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Adding security type...2018-06-13 19:43:45,394 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Adding project roles...2018-06-13 19:43:45,874 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Attempt to register timed promise task runners...2018-06-13 19:43:52,074 localhost-startStop-1 INFO [atlassian.servicedesk.bootstrap.lifecycle] Registering async upgrade tasks...2018-06-13 19:43:52,179 localhost-startStop-1 INFO [servicedesk.bootstrap.lifecycle.TenantAwareneODMailInitialiser] Initialize configuration on tenant ready...2018-06-13 19:43:52,224 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle] Registering Service Desk async job runner2018-06-13 19:43:52,239 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle] Registered Service Desk async job runner successfully2018-06-13 19:43:52,239 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle] Service Desk Async upgrade tasks set to run at Wed Jun 13 21:32:58 CDT 2018 (in 01:49:05 from current date of Wed Jun 13 19:43:52 CDT 2018)2018-06-13 19:43:52,269 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle] Successfully scheduled jobId=sd.async.upgrade.tasks.job.runner2018-06-13 19:43:52,269 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
*********************************************************************************JIRA ServiceDesk v2.5.9 #DevVersion built 2015-10-13T00:54:57.908-05:00 - Finished initialisation.*********************************************************************************
2018-06-13 19:43:52,284 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
JIRA ServiceDesk Run History
*JIRA ServiceDesk v2.3-OD-08-002-D20150218T054701 (DevVersion) started at 01 Mar 2015 02:40
2018-06-13 19:43:52,324 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
The following JIRA ServiceDesk upgrade tasks have been run on this system
UpgradeTask AO-1 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask AO-1 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 1107 msUpgradeTask AO-201 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask AO-201 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 432 msUpgradeTask AO-300 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask AO-300 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 536 msUpgradeTask AO-400 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask AO-400 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 676 msUpgradeTask AO-501 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask AO-501 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 1338 msUpgradeTask UPG-1 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask UPG-1 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 0 msUpgradeTask UPG-2 started at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion)UpgradeTask UPG-2 ended at 01 Mar 2015 02:39 within v2.3-OD-08-002-D20150218T054701 (DevVersion) and took 13 ms
2018-06-13 19:43:52,334 localhost-startStop-1 INFO [atlassian.servicedesk.lifecycle]
That did the trick...Thanks for the help...I've passed the information along to our Information Security department
It looks like you're new here. Sign in or register to get started.