oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea DeMarco <dr.andrea.dema...@gmail.com>
Subject Re: OODT Documentation
Date Thu, 11 Jun 2015 15:19:20 GMT
Hi Chris,

One other detail: is it perhaps also indicative of an issue in some
way that the Resource Monitor of OPSUI is the only tab/page that still
gives exceptions (after the 0.9 upgrade)?

WicketMessage: Can't instantiate page using constructor public
org.apache.oodt.pcs.opsui.WorkflowInstanceViewerPage(org.apache.wicket.PageParameters)
and argument status = "ALL" pageNum = "null"

Root cause:

java.lang.NumberFormatException: For input string: "null"
     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
     at java.lang.Integer.parseInt(Integer.java:580)
     at java.lang.Integer.parseInt(Integer.java:615)
     at org.apache.wicket.util.string.StringValue.toInt(StringValue.java:501)
     at org.apache.wicket.util.string.StringValue.toInt(StringValue.java:520)
     at org.apache.wicket.util.value.ValueMap.getInt(ValueMap.java:275)
     at org.apache.oodt.pcs.opsui.WorkflowInstanceViewerPage.<init>(WorkflowInstanceViewerPage.java:43)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     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.java:319)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
     at java.lang.Thread.run(Thread.java:745)

Complete stack:

org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor public
org.apache.oodt.pcs.opsui.WorkflowInstanceViewerPage(org.apache.wicket.PageParameters)
and argument status = "ALL" pageNum = "null"
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)

java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)

org.apache.wicket.util.string.StringValueConversionException: Unable
to convert 'null' to an int value
     at org.apache.wicket.util.string.StringValue.toInt(StringValue.java:505)
     at org.apache.wicket.util.string.StringValue.toInt(StringValue.java:520)
     at org.apache.wicket.util.value.ValueMap.getInt(ValueMap.java:275)
     at org.apache.oodt.pcs.opsui.WorkflowInstanceViewerPage.<init>(WorkflowInstanceViewerPage.java:43)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
     at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:188)
     at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)

Sorry for the massive exception trails - just wanted to give you all
the info I have on my end.

Thanks,
Andrea

On 11 June 2015 at 17:13, Andrea DeMarco <dr.andrea.demarco@gmail.com> wrote:
> Hi Chris,
>
> I have tried with the new batch_stub - same result. Attached is the
> oodt.out log file.
>
> Moreover this is the exception from the batch_stub terminal:
>
> andrea@issa:~/oodt/resmgr/bin$ ./batch_stub 2001
> [1] 2777
> andrea@issa:~/oodt/resmgr/bin$ Jun 11, 2015 4:56:28 PM
> org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub <init>
> INFO: XmlRpc Batch Stub started by andrea
> Jun 11, 2015 4:58:38 PM
> org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub
> genericExecuteJob
> INFO: stub attempting to execute class:
> [org.apache.oodt.cas.workflow.structs.TaskJob]
> Jun 11, 2015 4:58:38 PM org.apache.oodt.cas.pge.PGETaskInstance
> createPgeMetadata
> INFO: Converting workflow configuration to static metadata...
> Jun 11, 2015 4:58:38 PM org.apache.oodt.cas.pge.PGETaskInstance
> createPgeMetadata
> INFO: Loading workflow context metadata...
> Jun 11, 2015 4:58:38 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeConfig
> INFO: Create PgeConfig...
> Jun 11, 2015 4:58:38 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeConfig
> INFO: Using default PgeConfigBuilder:
> org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder
> Jun 11, 2015 4:58:38 PM org.apache.oodt.cas.pge.PGETaskInstance run
> SEVERE: PGETask FAILED!!! : Failed to build PgeConfig : Failed to
> parse value: null
> java.io.IOException: Failed to build PgeConfig : Failed to parse value: null
> at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:87)
> at org.apache.oodt.cas.pge.PGETaskInstance.createPgeConfig(PGETaskInstance.java:231)
> at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:123)
> at org.apache.oodt.cas.workflow.structs.TaskJob.execute(TaskJob.java:102)
> at org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub$RunnableJob.run(XmlRpcBatchStub.java:229)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.Exception: Failed to parse value: null
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:501)
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:480)
> at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:77)
> ... 5 more
> Caused by: java.lang.NullPointerException
> at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
> at java.util.regex.Matcher.reset(Matcher.java:309)
> at java.util.regex.Matcher.<init>(Matcher.java:229)
> at java.util.regex.Pattern.matcher(Pattern.java:1093)
> at org.apache.oodt.cas.metadata.util.PathUtils.doDynamicDateToMillisReplacement(PathUtils.java:321)
> at org.apache.oodt.cas.metadata.util.PathUtils.doDynamicReplacement(PathUtils.java:96)
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:486)
> ... 7 more
>
> org.apache.oodt.cas.resource.structs.exceptions.JobInputException:
> Failed to run task
> at org.apache.oodt.cas.workflow.structs.TaskJob.execute(TaskJob.java:104)
> at org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub$RunnableJob.run(XmlRpcBatchStub.java:229)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.oodt.cas.workflow.structs.exceptions.WorkflowTaskInstanceException:
> PGETask FAILED!!! : Failed to build PgeConfig : Failed to parse value:
> null
> at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:150)
> at org.apache.oodt.cas.workflow.structs.TaskJob.execute(TaskJob.java:102)
> ... 2 more
> Caused by: java.io.IOException: Failed to build PgeConfig : Failed to
> parse value: null
> at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:87)
> at org.apache.oodt.cas.pge.PGETaskInstance.createPgeConfig(PGETaskInstance.java:231)
> at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:123)
> ... 3 more
> Caused by: java.lang.Exception: Failed to parse value: null
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:501)
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:480)
> at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:77)
> ... 5 more
> Caused by: java.lang.NullPointerException
> at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
> at java.util.regex.Matcher.reset(Matcher.java:309)
> at java.util.regex.Matcher.<init>(Matcher.java:229)
> at java.util.regex.Pattern.matcher(Pattern.java:1093)
> at org.apache.oodt.cas.metadata.util.PathUtils.doDynamicDateToMillisReplacement(PathUtils.java:321)
> at org.apache.oodt.cas.metadata.util.PathUtils.doDynamicReplacement(PathUtils.java:96)
> at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:486)
> ... 7 more
>
>
>
> I have then turned off the resource manager as Valerie suggested,
> turned off OODT entirely and restarted the job, and lo and behold, it
> worked, and files were ingested successfully! I ran the job a second
> time and it worked again...attached also find a log file for this bit
> (oodt_2.out)
>
> Minor progress :) Now to get that resource manager working...
> Also: what can I do to file the JIRA ticket you need?
>
> Cheers,
> Andrea



-- 
Best Regards,
Andrea DeMarco
Institute of Space Sciences and Astronomy
University of Malta

Mime
View raw message