java.lang.NoClassDefFoundError: com/atlassian/jira/rest/api/util/ErrorCollection

Atlassian JIRA | John Chin Kim Loong [Atlassian] | 3 years ago
  1. 0

    When user create a new project using Enter key instead of mouse click on the submit button, it will cause the Project UI freeze in loading screen. For example: !hang_screen.JPG|thumbnail! h3. Steps to Reproduce the problem: # Go click on Create Project link in Project menu. # Select Bug Tracking template and use mouse to click *Next* button. # Please enter any name and tab to key field (all input using keyboard no mouse to hover to next field). # After enter *Tab* key to Project Lead field, please type a character/alphabet that contain in user directory. For example: !project_lead.JPG|thumbnail! # Then hit Enter key. You will get this behavior: !hang_screen.JPG|thumbnail! Also, the following stack trace: {noformat} 2013-09-23 15:19:02,450 http-bio-8080-exec-9 ERROR admin 919x70x1 3armqy 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/templates [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NoClassDefFoundError: com/atlassian/jira/rest/api/util/ErrorCollection at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.rest.api.util.ErrorCollection at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) {noformat} For more details step, please download the *steps.mp4* video. h3. Finding * The problem is not reproducible in JIRA 6.0.8. h3. Workaround * Please use the mouse to click on the submit button when creating a Project.

    Atlassian JIRA | 3 years ago | John Chin Kim Loong [Atlassian]
    java.lang.NoClassDefFoundError: com/atlassian/jira/rest/api/util/ErrorCollection
  2. 0

    When user create a new project using Enter key instead of mouse click on the submit button, it will cause the Project UI freeze in loading screen. For example: !hang_screen.JPG|thumbnail! h3. Steps to Reproduce the problem: # Go click on Create Project link in Project menu. # Select Bug Tracking template and use mouse to click *Next* button. # Please enter any name and tab to key field (all input using keyboard no mouse to hover to next field). # After enter *Tab* key to Project Lead field, please type a character/alphabet that contain in user directory. For example: !project_lead.JPG|thumbnail! # Then hit Enter key. You will get this behavior: !hang_screen.JPG|thumbnail! Also, the following stack trace: {noformat} 2013-09-23 15:19:02,450 http-bio-8080-exec-9 ERROR admin 919x70x1 3armqy 0:0:0:0:0:0:0:1 /rest/project-templates/1.0/templates [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NoClassDefFoundError: com/atlassian/jira/rest/api/util/ErrorCollection at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.rest.api.util.ErrorCollection at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) {noformat} For more details step, please download the *steps.mp4* video. h3. Finding * The problem is not reproducible in JIRA 6.0.8. h3. Workaround * Please use the mouse to click on the submit button when creating a Project.

    Atlassian JIRA | 3 years ago | John Chin Kim Loong [Atlassian]
    java.lang.NoClassDefFoundError: com/atlassian/jira/rest/api/util/ErrorCollection
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    {noformat} Hi Andy, I'm having a problem trying to add a comment to an issue by replying to the standard JIRA notification mails: catalina.out/atlassian-jira.log 2009-10-30 14:34:20,076 JiraQuartzScheduler_Worker-2 ERROR [service.services.mail.MailFetcherService] Throwable: java.lang.NoClassDefFoundError: com/dolby/atlassian/jira/service/util/handler/emh/AbstractFieldProcessorHelper$1MyQuotedCommentHandler java.lang.NoClassDefFoundError: com/dolby/atlassian/jira/service/util/handler/emh/AbstractFieldProcessorHelper$1MyQuotedCommentHandler at com.dolby.atlassian.jira.service.util.handler.emh.AbstractFieldProcessorHelper.fixupDescription(AbstractFieldProcessorHelper.java:274) at com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor.extractFieldsAndBody(SubjectBasedFieldProcessor.java:158) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.runProcessor(EMHIssueHandler.java:200) at com.dolby.atlassian.jira.service.util.handler.EMHIssueHandler.handleMessage(EMHIssueHandler.java:115) at com.dolby.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:71) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:190) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) atlassian-jira-emh.log 2009-10-30 14:34:19,971 JiraQuartzScheduler_Worker-2 DEBUG [service.util.handler.CreateOrCommentHandler] CreateOrCommentHandler.handleMessage 2009-10-30 14:34:19,974 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.WhiteGreyBlackListingHelper] isValidAfter B/W listing: true 2009-10-30 14:34:19,974 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.AbstractMessageHandler] com.dolby.atlassian.jira.service.util.handler.WhiteGreyBlackListingHelper$FilterResult@164b4fe 2009-10-30 14:34:19,975 JiraQuartzScheduler_Worker-2 DEBUG [service.util.handler.CreateOrCommentHandler] Got mail from: Test User <test.user@mycompany.com>, subject: RE : [JIRAQA] Created: (ZZZTMS-94) test 2009-10-30 14:34:19,979 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHConfiguration] EMH property file loaded through standard getClass.getClassloader: true 2009-10-30 14:34:19,980 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Message: To: jira-box-qa@mycompany.com 2009-10-30 14:34:19,980 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Message: From: Test User <test.user@mycompany.com> 2009-10-30 14:34:19,980 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Message: Subject: RE : [JIRAQA] Created: (ZZZTMS-94) test 2009-10-30 14:34:19,980 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Message: Sent: Fri Oct 30 14:37:21 CET 2009 2009-10-30 14:34:19,980 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.AbstractMessageHandler] Attempting to find FieldProcessors in package: com.dolby.atlassian.jira.service.util.handler.emh.processor 2009-10-30 14:34:19,982 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.ClassFinder] Found class: com.dolby.atlassian.jira.service.util.handler.emh.processor.AtPrefixedFieldProcessor 2009-10-30 14:34:19,982 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.ClassFinder] Found class: com.dolby.atlassian.jira.service.util.handler.emh.processor.CSVFieldProcessor 2009-10-30 14:34:19,982 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.ClassFinder] Found class: com.dolby.atlassian.jira.service.util.handler.emh.processor.BasicMailProcessor 2009-10-30 14:34:19,982 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.ClassFinder] Found class: com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor 2009-10-30 14:34:19,982 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.ClassFinder] Found class: com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.AtPrefixedFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.AtPrefixedFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.CSVFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.CSVFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.BasicMailProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.BasicMailProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.BasicMailProcessor 2009-10-30 14:34:19,983 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.BasicMailProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.AtPrefixedFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.AtPrefixedFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.CSVFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.CSVFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.SubjectBasedFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Checking Class: com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor 2009-10-30 14:34:19,984 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.ClassFinder] Class is a match: com.dolby.atlassian.jira.service.util.handler.emh.processor.ConfluenceMailFormNgFieldProcessor 2009-10-30 14:34:19,995 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: ConfluenceMailFormNgFieldProcessor, it found 0 directives. 2009-10-30 14:34:20,009 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: ConfluenceMailFormNgFieldProcessor, it found 0 directives. 2009-10-30 14:34:20,021 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: AtPrefixedFieldProcessor - @key = value, it found 0 directives. 2009-10-30 14:34:20,031 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: AtPrefixedFieldProcessor - @key = value, it found 0 directives. 2009-10-30 14:34:20,040 JiraQuartzScheduler_Worker-2 DEBUG [handler.emh.processor.SubjectBasedFieldProcessor] Subject line: RE : [JIRAQA] Created: (ZZZTMS-94) test 2009-10-30 14:34:20,040 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Subject based field processor #key=value, it found 1 directives. 2009-10-30 14:34:20,041 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Subject based field processor #key=value is new best candidate 2009-10-30 14:34:20,044 JiraQuartzScheduler_Worker-2 DEBUG [handler.emh.processor.SubjectBasedFieldProcessor] Subject line: RE : [JIRAQA] Created: (ZZZTMS-94) test 2009-10-30 14:34:20,044 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Subject based field processor #key=value, it found 1 directives. 2009-10-30 14:34:20,053 JiraQuartzScheduler_Worker-2 INFO [handler.emh.processor.CSVFieldProcessor] CSV Parser didnt find enough (> 3 known Jira field names on the first CSV line 2009-10-30 14:34:20,053 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Comma Separated Variable (CSV) Field Processor, it found 0 directives. 2009-10-30 14:34:20,061 JiraQuartzScheduler_Worker-2 INFO [handler.emh.processor.CSVFieldProcessor] CSV Parser didnt find enough (> 3 known Jira field names on the first CSV line 2009-10-30 14:34:20,061 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Comma Separated Variable (CSV) Field Processor, it found 0 directives. 2009-10-30 14:34:20,061 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Basic Mail Processor, it found -1 directives. 2009-10-30 14:34:20,061 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Tested processor: Basic Mail Processor, it found -1 directives. 2009-10-30 14:34:20,062 JiraQuartzScheduler_Worker-2 INFO [service.util.handler.EMHIssueHandler] Running best match (1) FieldProcessor: Subject based field processor #key=value 2009-10-30 14:34:20,062 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.AbstractFieldProcessorHelper] No project set through directives, projectAutoAssign is set, checking to: address for project match 2009-10-30 14:34:20,062 JiraQuartzScheduler_Worker-2 WARN [util.handler.emh.AbstractFieldProcessor] getProjectFromEmailTOField() No project could be found. The to: part of the recipient address [jira-box-qa@mycompany.com] isn't a project key: jira-box-qa 2009-10-30 14:34:20,062 JiraQuartzScheduler_Worker-2 INFO [util.handler.emh.AbstractFieldProcessorHelper] No project found by directive or projectAutoAssign, falling back to default project 2009-10-30 14:34:20,076 JiraQuartzScheduler_Worker-2 DEBUG [util.handler.emh.AbstractFieldProcessorHelper] Using email body as description I'm using JIRA 3.12.2 #300 with JEMH 0.9.2.7... Kind regards, Eric {noformat}

    JIRA | 7 years ago | Andy Brook
    java.lang.NoClassDefFoundError: com/dolby/atlassian/jira/service/util/handler/emh/AbstractFieldProcessorHelper$1MyQuotedCommentHandler

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/atlassian/jira/rest/api/util/ErrorCollection

      at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest()
    2. com.atlassian.jira
      ProjectTemplatesResource.createProjectFromFormRequest
      1. com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:127)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame