nullpointer exception when viewing a ticket

This may be related to post http://devnet.jetbrains.com/thread/433151

When I try to view a ticket, jetbrains throws an exception. Is there a way to fix this?

23:28:29,167 INFO  [MainServlet                   ] [y=%23unresolved] Start processing request /issue/FEG-183?projectKey=FEG&query=%23unresolved
23:28:29,216 ERROR [MainServlet                   ] [y=%23unresolved] java.lang.NullPointerException
java.lang.NullPointerException
        at jetbrains.charisma.customfields.complex.user.UserFieldType.compare(UserFieldType.java:61)
        at jetbrains.charisma.plugins.CustomFieldType$1.compare(CustomFieldType.java:89)
        at java.util.Arrays.mergeSort(Arrays.java:1283)
        at java.util.Arrays.sort(Arrays.java:1223)
        at jetbrains.mps.internal.collections.runtime.impl.SortingSequence.inputSortedWithSelector(SortingSequence.java:60)
        at jetbrains.mps.internal.collections.runtime.impl.SortingSequence.iterator(SortingSequence.java:40)
        at jetbrains.charisma.smartui.fullScreenIssue.CustomFieldChange.getCustomFieldChangePresenation(CustomFieldChange.java:108)
        at jetbrains.charisma.smartui.fullScreenIssue.MergedFieldChange.getCustomFieldChangePresenation(MergedFieldChange.java:47)
        at jetbrains.charisma.smartui.fullScreenIssue.FieldChange_HtmlTemplateComponent.renderTemplate(FieldChange_HtmlTemplateComponent.java:63)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.CommentChange_HtmlTemplateComponent.renderTemplate(CommentChange_HtmlTemplateComponent.java:485)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2$1.invoke(IssueChangeUtil.java:108)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2$1.invoke(IssueChangeUtil.java:77)
        at jetbrains.mps.webr.runtime.util.ContentBuilder.toString(ContentBuilder.java:20)
        at jetbrains.mps.webr.runtime.util.ContentBuilder.toString(ContentBuilder.java:26)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2.invoke(IssueChangeUtil.java:77)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2.invoke(IssueChangeUtil.java:74)
        at jetbrains.charisma.smartui.issueCommon.IssueUI$3$1$1.moveToNext(IssueUI.java:768)
        at jetbrains.mps.baseLanguage.closures.runtime.YieldingIterator.hasNext(YieldingIterator.java:35)
        at jetbrains.mps.internal.collections.runtime.ListSequence.fromIterable(ListSequence.java:313)
        at jetbrains.mps.internal.collections.runtime.Sequence.toListSequence(Sequence.java:220)
        at jetbrains.charisma.smartui.comments.Comments_HtmlTemplateComponent.renderTemplate(Comments_HtmlTemplateComponent.java:212)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueTabs_HtmlTemplateComponent.renderTemplate(IssueTabs_HtmlTemplateComponent.java:243)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueContent_HtmlTemplateComponent.renderTemplate(IssueContent_HtmlTemplateComponent.java:161)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.Issue_RootHtmlTemplateComponent.renderTemplate(Issue_RootHtmlTemplateComponent.java:584)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.layout.SmartUI_LayoutComponent.renderTemplate(SmartUI_LayoutComponent.java:230)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.render(TemplateComponent.java:459)
        at jetbrains.mps.webr.runtime.requestProcessor.ResponseFactory$2.doAction(ResponseFactory.java:79)
        at jetbrains.mps.webr.runtime.servlet.MainServlet.executeResponseAction(MainServlet.java:155)
        at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:533)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1351)
        at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:111)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:133)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:514)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:920)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
        at org.eclipse.jetty.server.Server.handle(Server.java:352)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1049)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
        at java.lang.Thread.run(Thread.java:636)
23:28:29,218 INFO  [MainServlet                   ] [y=%23unresolved] Finish processing request /issue/FEG-183?projectKey=FEG&query=%23unresolved in 51ms
23:28:29,300 INFO  [MainServlet                   ] [ernalErrorThrow] Start processing request /_InternalErrorThrow
2012-01-06 23:28:29.300:WARN::/_InternalErrorThrow
java.lang.NullPointerException
        at jetbrains.charisma.customfields.complex.user.UserFieldType.compare(UserFieldType.java:61)
        at jetbrains.charisma.plugins.CustomFieldType$1.compare(CustomFieldType.java:89)
        at java.util.Arrays.mergeSort(Arrays.java:1283)
        at java.util.Arrays.sort(Arrays.java:1223)
        at jetbrains.mps.internal.collections.runtime.impl.SortingSequence.inputSortedWithSelector(SortingSequence.java:60)
        at jetbrains.mps.internal.collections.runtime.impl.SortingSequence.iterator(SortingSequence.java:40)
        at jetbrains.charisma.smartui.fullScreenIssue.CustomFieldChange.getCustomFieldChangePresenation(CustomFieldChange.java:108)
        at jetbrains.charisma.smartui.fullScreenIssue.MergedFieldChange.getCustomFieldChangePresenation(MergedFieldChange.java:47)
        at jetbrains.charisma.smartui.fullScreenIssue.FieldChange_HtmlTemplateComponent.renderTemplate(FieldChange_HtmlTemplateComponent.java:63)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.CommentChange_HtmlTemplateComponent.renderTemplate(CommentChange_HtmlTemplateComponent.java:485)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2$1.invoke(IssueChangeUtil.java:108)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2$1.invoke(IssueChangeUtil.java:77)
        at jetbrains.mps.webr.runtime.util.ContentBuilder.toString(ContentBuilder.java:20)
        at jetbrains.mps.webr.runtime.util.ContentBuilder.toString(ContentBuilder.java:26)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2.invoke(IssueChangeUtil.java:77)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueChangeUtil$2.invoke(IssueChangeUtil.java:74)
        at jetbrains.charisma.smartui.issueCommon.IssueUI$3$1$1.moveToNext(IssueUI.java:768)
        at jetbrains.mps.baseLanguage.closures.runtime.YieldingIterator.hasNext(YieldingIterator.java:35)
        at jetbrains.mps.internal.collections.runtime.ListSequence.fromIterable(ListSequence.java:313)
        at jetbrains.mps.internal.collections.runtime.Sequence.toListSequence(Sequence.java:220)
        at jetbrains.charisma.smartui.comments.Comments_HtmlTemplateComponent.renderTemplate(Comments_HtmlTemplateComponent.java:212)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueTabs_HtmlTemplateComponent.renderTemplate(IssueTabs_HtmlTemplateComponent.java:243)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.IssueContent_HtmlTemplateComponent.renderTemplate(IssueContent_HtmlTemplateComponent.java:161)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.fullScreenIssue.Issue_RootHtmlTemplateComponent.renderTemplate(Issue_RootHtmlTemplateComponent.java:584)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1008)
        at jetbrains.charisma.smartui.layout.SmartUI_LayoutComponent.renderTemplate(SmartUI_LayoutComponent.java:230)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:545)
        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.render(TemplateComponent.java:459)
        at jetbrains.mps.webr.runtime.requestProcessor.ResponseFactory$2.doAction(ResponseFactory.java:79)
        at jetbrains.mps.webr.runtime.servlet.MainServlet.executeResponseAction(MainServlet.java:155)
        at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:533)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1351)
        at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:111)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:133)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:514)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:920)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
        at org.eclipse.jetty.server.Server.handle(Server.java:352)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1049)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
        at java.lang.Thread.run(Thread.java:636)
23:28:29,301 INFO  [MainServlet                   ] [est: /Exception] Start processing request /Exception
23:28:29,306 INFO  [MainServlet                   ] [est: /Exception] Finish processing request /Exception in 4ms
23:28:29,704 INFO  [MainServlet                   ] [uesTicker:tick]] Start processing request /_events?window_id=61 [l.D.wc.ws.countIssuesTicker:tick]
23:28:29,720 INFO  [MainServlet                   ] [uesTicker:tick]] Finish processing request /_events?window_id=61 [l.D.wc.ws.countIssuesTicker:tick] in 16ms
23:28:31,371 INFO  [MainServlet                   ] [5 [_heart_beat]] Start processing request /_events?window_id=3515 [_heart_beat]
23:28:31,372 INFO  [MainServlet                   ] [5 [_heart_beat]] Finish processing request /_events?window_id=3515 [_heart_beat] in 1ms

1 comment

Please sign in to leave a comment.