Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federation Propose Settings are not shown anymore in GitBlit 1.2.1 #491

Closed
gitblit opened this issue Aug 12, 2015 · 4 comments
Closed

Federation Propose Settings are not shown anymore in GitBlit 1.2.1 #491

gitblit opened this issue Aug 12, 2015 · 4 comments

Comments

@gitblit
Copy link
Owner

@gitblit gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 195

What steps will reproduce the problem?
1. I've two GitBlit Go servers with GitBlit 1.2.1 and I want to setup federation between
these two servers.
2. I send a proposal from server A to server B. That works fine and the proposal is
shown by server B in the Federation-section



What is the expected output? What do you see instead?
clicking on the proposal, the browser shows this error-message:
Internal error

Return to home page 

and the java outputs the following:
ERROR Can't instantiate page using constructor public com.gitblit.wicket.pages.R
eviewProposalPage(org.apache.wicket.PageParameters) and argument t = "139c70610f
842e64160136d32dc24e8c1a710245"
org.apache.wicket.WicketRuntimeException: Can't instantiate page using construct
or public com.gitblit.wicket.pages.ReviewProposalPage(org.apache.wicket.PagePara
meters) and argument t = "139c70610f842e64160136d32dc24e8c1a710245"
        at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFa
ctory.java:212)
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFacto
ry.java:89)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.newPage(BookmarkablePageRequestTarget.java:305)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.getPage(BookmarkablePageRequestTarget.java:320)
        at org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.processEvents(BookmarkablePageRequestTarget.java:234)
        at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents
(AbstractRequestCycleProcessor.java:92)
        at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
ava:1279)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
        at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
486)
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
va:319)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1300)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
:445)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:556)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
er.java:227)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
er.java:1038)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
374)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
r.java:189)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
r.java:972)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:135)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:363)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstrac
tHttpConnection.java:483)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(Abstra
ctHttpConnection.java:920)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.header
Complete(AbstractHttpConnection.java:982)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)

        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnecti
on.java:82)
        at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
dPoint.java:628)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
Point.java:52)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPoo
l.java:608)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
.java:543)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFa
ctory.java:188)
        ... 35 more
Caused by: java.lang.NullPointerException
        at com.gitblit.wicket.panels.RepositoriesPanel.<init>(RepositoriesPanel.
java:134)
        at com.gitblit.wicket.pages.ReviewProposalPage.<init>(ReviewProposalPage
.java:94)
        ... 40 more
INFO  0 repositories identified with calculated folder sizes in 0 msecs

Using GitBlit 1.1.0, it showed me the federation settings for the server.

What version of the product are you using? On what operating system?
GitBlit 1.2.1, WinXP

Thanks for your help!

Reported by marbod.hopfner on 2013-02-01 11:02:32

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Same for me. Pls Help!!

Reported by krebsnet on 2013-03-25 13:53:04

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Fix pushed to master.  Will be in next release.

Reported by James.Moger on 2013-07-03 14:50:35

  • Status changed: Queued
  • Labels added: Milestone.1.3.0

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Reported by James.Moger on 2013-07-03 14:50:59

  • Labels added: Milestone-1.3.0
  • Labels removed: Milestone.1.3.0

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Fix or enhancement released in v1.3.0

Reported by James.Moger on 2013-07-14 16:52:58

  • Status changed: Fixed

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix added this to the 1.3.0 milestone Dec 13, 2016
@flaix flaix added this to the 1.3.0 milestone Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants