My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 682: Not Found error on clicking the change to approve it
2 people starred this issue and may be notified of changes. Back to list
Status:  AwaitingInformation
Owner:  ----


Sign in to add a comment
 
Reported by cbise...@gmail.com, Aug 24, 2010
Affected Version: 2.1.4

What steps will reproduce the problem?
1.i have pushed change form branch to his parent(has usually made)
2.i click to  change to approve
3.i get: Not Found
The page you requested was not found.

What is the expected output? What do you see instead?
page with change set information

Please provide any additional information below.
this is the exception in logs:


[2010-08-24 09:19:47,146] ERROR com.google.gerrit.server.cache.PopulatingCache : Cannot lookup PatchListKey[godiva BASE..31e9c8e0ff5fce2dbb05c21fed67dcd09fc3b4ff IGNORE_NONE] in "diff"
net.sf.ehcache.CacheException: Could not fetch object for cache entry with key "PatchListKey[godiva BASE..31e9c8e0ff5fce2dbb05c21fed67dcd09fc3b4ff IGNORE_NONE]".
	at net.sf.ehcache.constructs.blocking.SelfPopulatingCache.get(SelfPopulatingCache.java:88)
	at com.google.gerrit.server.cache.PopulatingCache.get(PopulatingCache.java:85)
	at com.google.gerrit.server.patch.PatchListCacheImpl.get(PatchListCacheImpl.java:149)
	at com.google.gerrit.server.patch.PatchListCacheImpl.get(PatchListCacheImpl.java:161)
	at com.google.gerrit.server.patch.PatchListCacheImpl.get(PatchListCacheImpl.java:153)
	at com.google.gerrit.httpd.rpc.changedetail.PatchSetDetailFactory.call(PatchSetDetailFactory.java:83)
	at com.google.gerrit.httpd.rpc.changedetail.ChangeDetailFactory.loadCurrentPatchSet(ChangeDetailFactory.java:195)
	at com.google.gerrit.httpd.rpc.changedetail.ChangeDetailFactory.call(ChangeDetailFactory.java:109)
	at com.google.gerrit.httpd.rpc.changedetail.ChangeDetailFactory.call(ChangeDetailFactory.java:54)
	at com.google.gerrit.httpd.rpc.Handler.to(Handler.java:65)
	at com.google.gerrit.httpd.rpc.changedetail.ChangeDetailServiceImpl.changeDetail(ChangeDetailServiceImpl.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.google.gwtjsonrpc.server.MethodHandle.invoke(MethodHandle.java:91)
	at com.google.gwtjsonrpc.server.JsonServlet.doService(JsonServlet.java:382)
	at com.google.gwtjsonrpc.server.JsonServlet.service(JsonServlet.java:268)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:216)
	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:141)
	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:63)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:134)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:134)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:76)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:129)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.gerrit.httpd.RequireSslFilter.doFilter(RequireSslFilter.java:68)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:129)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.gerrit.httpd.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:54)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:129)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:134)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:59)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:122)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:50)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
	at org.eclipse.jetty.server.Server.handle(Server.java:337)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:222)
	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 10
	at org.eclipse.jgit.util.IntList.get(IntList.java:82)
	at com.google.gerrit.server.patch.Text.getLineStart(Text.java:96)
	at com.google.gerrit.server.patch.Text.getLines(Text.java:80)
	at com.google.gerrit.server.patch.CharText.<init>(CharText.java:23)
	at com.google.gerrit.server.patch.PatchListCacheImpl$Loader.newEntry(PatchListCacheImpl.java:281)
	at com.google.gerrit.server.patch.PatchListCacheImpl$Loader.readPatchList(PatchListCacheImpl.java:231)
	at com.google.gerrit.server.patch.PatchListCacheImpl$Loader.createEntry(PatchListCacheImpl.java:178)
	at com.google.gerrit.server.patch.PatchListCacheImpl$Loader.createEntry(PatchListCacheImpl.java:164)
	at com.google.gerrit.server.cache.PopulatingCache$1.createEntry(PopulatingCache.java:55)
	at net.sf.ehcache.constructs.blocking.SelfPopulatingCache.get(SelfPopulatingCache.java:72)
	... 57 more

Aug 30, 2010
#1 cbise...@gmail.com
ah appaned again with 2.1.5 when i used text in commit to long:


remote: (W) cc0077: commit subject >65 characters; use shorter first paragraph
remote: (W) cc0077: commit message lines >70 characters; manually wrap lines
fatal: The remote end hung up unexpectedly
fatal: internal server error


after that, i can't access change page and i can't abandon it, there is a way to force the change remove from gerrit?
Aug 30, 2010
#2 sop@google.com
This is unfortunately a data dependent bug.  Is
this project by chance open source so I can see
the actual data its failing on?
Status: AwaitingInformation
Aug 30, 2010
#3 cbise...@gmail.com
Hi, is not opensorce because is not finish and wrote with code in Italian. It will be to be adapted to be opensource, but I can share the code that made the issue. What you need? I can write on your mail with my office, official, mail.
Sep 1, 2010
#4 sop@google.com
If you can send me a tarred copy of the repository,
ensuring it contains commit 31e9c8e0ff5fc (you can
check by running `git cat-file -t 31e9c8e0ff5fc`),
that should give me all of the data I need to get
this case to reproduce locally.
Sign in to add a comment

Powered by Google Project Hosting