nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2086) Nutch 1.X Webui
Date Sat, 26 Sep 2015 05:27:04 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14909103#comment-14909103
] 

Lewis John McGibbney commented on NUTCH-2086:
---------------------------------------------

OK, so far I've found that src/bin/nutch doesn't contain the 'webapp' command or command -->
Java class constructor mapping so I've added it.
I'm now getting
{code}
Last cause: Unable to find property: 'navbar.menu.dashboard' for component:  [class=org.apache.nutch.webui.pages.DashboardPage].
Locale: null, style: null
WicketMessage: Can't instantiate page using constructor 'public org.apache.nutch.webui.pages.DashboardPage()'.
An exception has been thrown during construction!

Root cause:

java.util.MissingResourceException: Unable to find property: 'navbar.menu.dashboard' for component:
 [class=org.apache.nutch.webui.pages.DashboardPage]. Locale: null, style: null
     at org.apache.wicket.Localizer.getString(Localizer.java:237)
     at org.apache.wicket.Localizer.getString(Localizer.java:130)
     at org.apache.wicket.Component.getString(Component.java:1843)
     at org.apache.wicket.Component.getString(Component.java:1830)
     at org.apache.nutch.webui.pages.AbstractBasePage.addMenuItem(AbstractBasePage.java:151)
     at org.apache.nutch.webui.pages.AbstractBasePage.<init>(AbstractBasePage.java:77)
     at org.apache.nutch.webui.pages.DashboardPage.<init>(DashboardPage.java:37)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
     at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
     at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
     at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
     at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
     at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:271)
     at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
     at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
     at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
     at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
     at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
     at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
     at org.mortbay.jetty.Server.handle(Server.java:326)
     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
     at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
     at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Complete stack:

org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public
org.apache.nutch.webui.pages.DashboardPage()'. An exception has been thrown during construction!
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
     at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
     at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
     at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
     at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
     at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:271)
     at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
     at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
     at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
     at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
     at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)

java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
     at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
     at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
     at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
     at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
     at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:271)
     at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
     at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
     at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
     at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
     at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
{code}

Working on a solution.

> Nutch 1.X Webui 
> ----------------
>
>                 Key: NUTCH-2086
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2086
>             Project: Nutch
>          Issue Type: New Feature
>          Components: REST_api, web gui
>            Reporter: Sujen Shah
>            Assignee: Chris A. Mattmann
>              Labels: memex
>             Fix For: 1.11
>
>         Attachments: NUTCH-2086.patch
>
>
> To port the Apache Wicket based webui in Nutch 2.X to 1.X



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message