chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saisai Shao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CHUKWA-652) chukwa hicc web descriptor utilization.descriptor json format parentheses match error
Date Wed, 01 Aug 2012 03:40:35 GMT

     [ https://issues.apache.org/jira/browse/CHUKWA-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Saisai Shao updated CHUKWA-652:
-------------------------------

    Attachment: CHUKWA-652.patch
    
> chukwa hicc web descriptor utilization.descriptor json format  parentheses match error
> --------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-652
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-652
>             Project: Chukwa
>          Issue Type: Bug
>          Components: User Interface
>    Affects Versions: 0.6.0
>         Environment: RHEL5, Hadoop 1.0.3, Hbase 0.94.0
>            Reporter: Saisai Shao
>             Fix For: 0.6.0
>
>         Attachments: CHUKWA-652.patch
>
>
> utilization.descriptor last two parentheses match error, cause JSONValue.parse return
null object error, and fail to create WidgetBean object, throw NullPointException
> 2012-08-01 09:55:12,764 ERROR 1423077782@qtp-666898120-5 WidgetBean - java.lang.NullPointerException
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:56)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:101)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:124)
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:159)
> 	at org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> 	at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> 	at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> 	at org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168)
> 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70)
> 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:497)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:684)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	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.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> 2012-08-01 09:55:12,765 ERROR 1423077782@qtp-666898120-5 WidgetStore - java.text.ParseException:
java.lang.NullPointerException
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:56)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:101)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:124)
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:159)
> 	at org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> 	at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> 	at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> 	at org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168)
> 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70)
> 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:497)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:684)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	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.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:81)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:101)
> 	at org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:124)
> 	at org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:159)
> 	at org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> 	at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> 	at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> 	at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> 	at org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168)
> 	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:70)
> 	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:279)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:86)
> 	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:136)
> 	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:74)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1357)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1289)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1239)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:497)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:684)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	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.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message