Bug? > Aggregated value in parent issue EP-26 is too large

I'm unable to DELETE or modify an issue. The issue is a sub,sub child.

Thanks in advance
4 comments
Comment actions Permalink
Hello Oliver,

The use case is, you have an issue which is subtask of the subtask of parent issue. And when you attempt to delete subtask of the subtask you receive 'Aggregated value in parent issue EP-26 is too large', correct?
Does this reproduce with other issues (kindly ask you to check this)? Please, provide me with screenshot of EP-26 full screen issue page.

Thank you.
0
Comment actions Permalink

Any progress on this?

I have the same or similar problem: I am trying to remove the subtask dependency of a sub-sub-task (i.e. remove the sub-sub-task from the specific dependency tree) and get the same error ("Aggregated value in parent issue X is too large"). The same happens if I try the same on sub-sub-sub-etc.-tasks. Also if I just try to move the sub-etc.-task to another branch in the same subtask-tree.

And if I try to remove the subtask dependency of an immediate child of the problematic issue (X), i.e. to move the child away from the problematic dependency tree, I get the error "Can't have negative period field."

So currently it seems like I cannot change the dependency tree under issue X at all. And since X is at a high level, this is a serious issue.

I have a feeling that the actions that are taken internally to change the dependencies are done in a wrong order or not quite thought through for large dependency trees. Could you have a look at the source code for that situation?

I do still use 6.5, so if you solved this specific problem in a more recent version, please tell me.

0
Comment actions Permalink

I upgraded to 2017.1 (Build 31650) in case it was solved, but that didn't solve the problem. Except now I only get "Can't have negative period field" when I do the same things.

I found the error in the log:

"17 mar. 2017 16:04:38,440 ERROR [TransientSessionImpl] [qtp199471481-37 ] [jesper@127.0.0.1] Exception while inside listener [jetbrains.teamsys.dnq.runtime.events.EventsMultiplexer@5a43ec25]
jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes:
1: Can't have negative period field.

at jetbrains.youtrack.timetracking.periodField.PeriodFieldType.setMinutesToIssue(PeriodFieldType.java:99)
at jetbrains.youtrack.timetracking.periodField.PeriodFieldType.propagateDeltaToAncestors(PeriodFieldType.java:143)
at jetbrains.youtrack.timetracking.periodField.PeriodFieldType.setValueInMinutes(PeriodFieldType.java:87)
at jetbrains.youtrack.timetracking.periodField.PeriodFieldType.setValueInMinutes(PeriodFieldType.java:77)
at jetbrains.youtrack.timetracking.persistence.TimeTrackingIssueSubtasksListener.processChangedSubtasks(TimeTrackingIssueSubtasksListener.java:78)
at jetbrains.youtrack.timetracking.persistence.TimeTrackingIssueSubtasksListener.updatedSyncBeforeConstraints(TimeTrackingIssueSubtasksListener.java:38)
at jetbrains.teamsys.dnq.runtime.events.EventsMultiplexer.handleChange(EventsMultiplexer.java:309)
at jetbrains.teamsys.dnq.runtime.events.EventsMultiplexer.handlePerEntityTypeChanges(EventsMultiplexer.java:292)
at jetbrains.teamsys.dnq.runtime.events.EventsMultiplexer.fire(EventsMultiplexer.java:81)
at jetbrains.teamsys.dnq.runtime.events.EventsMultiplexer.beforeFlush(EventsMultiplexer.java:64)
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$3.visit(TransientSessionImpl.java:1079)
at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.forAllListeners(TransientEntityStoreImpl.java:353)
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.notifyBeforeFlushListeners(TransientSessionImpl.java:1076)
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.beforeFlush(TransientSessionImpl.java:993)
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flushChanges(TransientSessionImpl.java:750)
at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flush(TransientSessionImpl.java:211)
at jetbrains.youtrack.commands.impl.CommandList.execute(CommandList.java:181)
at jetbrains.youtrack.commands.impl.CommandList.execute(CommandList.java:142)
at jetbrains.youtrack.commands.ui.CommandDialog_HtmlTemplateComponent.executeCommand(CommandDialog_HtmlTemplateComponent.java:1062)
at jetbrains.youtrack.commands.ui.CommandDialog_HtmlTemplateComponent.doSubmit(CommandDialog_HtmlTemplateComponent.java:720)
at jetbrains.youtrack.commands.ui.CommandDialog_HtmlTemplateComponent.submit(CommandDialog_HtmlTemplateComponent.java:845)
at jetbrains.youtrack.commands.ui.CommandDialog_HtmlTemplateComponent.headlessSubmit(CommandDialog_HtmlTemplateComponent.java:758)
at jetbrains.youtrack.commands.ui.CommandDialog_HtmlTemplateComponent$3.handle(CommandDialog_HtmlTemplateComponent.java:116)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.doNewHandleEvent(TemplateComponent.java:618)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.newHandleByEventHandlers(TemplateComponent.java:598)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.newHandleByEventHandlers(TemplateComponent.java:596)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.newHandleByEventHandlers(TemplateComponent.java:596)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.newHandleEvent(TemplateComponent.java:586)
at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.handleEventImpl(TemplateActionController.java:153)
at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.handleEvent(TemplateActionController.java:135)
at jetbrains.mps.webr.runtime.requestProcessor.EventRequestProcessor.processRequest(EventRequestProcessor.java:75)
at jetbrains.mps.webr.runtime.servlet.MainServlet.processRequest(MainServlet.java:232)
at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:150)
at jetbrains.mps.webr.runtime.servlet.MainServlet.doPost(MainServlet.java:196)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
at jetbrains.youtrack.webapp.filters.RootGoFilter.doFilter(RootGoFilter.kt:57)
at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:24)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at jetbrains.youtrack.webapp.filters.WebrSessionAuthenticationFilter.doFilter(WebrSessionAuthenticationFilter.kt:36)
at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:24)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at jetbrains.youtrack.webapp.filters.SecurityResponseHeadersFilter.doFilter(SecurityResponseHeadersFilter.kt:17)
at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:24)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at com.jetbrains.bundle.proxy.jetty.AllowOriginOneTimeFilter.doFilter(AllowOriginOneTimeFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:518)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)"

Should I create a bug report or does one already exist for this? I can see that many bugs involve this "Can't have negative period field" (https://youtrack.jetbrains.com/issues/JT?q=%22Can%27t%20have%20negative%20period%20field%22), but I am not sure what the main bug for this is.

0
Comment actions Permalink

Jesper, I'm sorry for the delay.

Is it possible for you to send us your database backup for investigation? Please upload it to our FTP: ftp://ftp.intellij.net/.uploads/ and then write us the name of the archive to youtrack-feedback@jetbrains.com.

It is totally confidential.

Thank you.

0

Please sign in to leave a comment.