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

Error on Log Output tab on rundeck 2.9.0 #2667

Closed
qicaihuoyan opened this Issue Aug 4, 2017 · 7 comments

Comments

Projects
None yet
4 participants
@qicaihuoyan

qicaihuoyan commented Aug 4, 2017

rundeck version:2.9.0

Through the web page to perform a task, point out the log output display:
Error performing request (loadMoreOutputTail): /execution/tailExecutionOutput?format=json

I have chosen json in the log filter
2222222222

@qicaihuoyan

This comment has been minimized.

Show comment
Hide comment
@qicaihuoyan

qicaihuoyan Aug 4, 2017

Do not fill out the contents of the log filter, the implementation of the results also show this error

qicaihuoyan commented Aug 4, 2017

Do not fill out the contents of the log filter, the implementation of the results also show this error

@qicaihuoyan

This comment has been minimized.

Show comment
Hide comment
@qicaihuoyan

qicaihuoyan Aug 4, 2017

2017-08-04 13:01:07,430 ERROR GrailsExceptionResolver - NumberFormatException occurred when processing request: [POST] /execution/tailExecutionOutput
null. Stacktrace follows:
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:552)
at java.lang.Long.parseLong(Long.java:631)
at rundeck.controllers.ExecutionController.tailExecutionOutput(ExecutionController.groovy:840)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:696)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1515)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:582)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:448)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:261)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:101)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at com.dtolabs.rundeck.server.filters.AuthFilter.doFilter(AuthFilter.java:74)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:529)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:448)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:446)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:271)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:246)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:745)

qicaihuoyan commented Aug 4, 2017

2017-08-04 13:01:07,430 ERROR GrailsExceptionResolver - NumberFormatException occurred when processing request: [POST] /execution/tailExecutionOutput
null. Stacktrace follows:
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:552)
at java.lang.Long.parseLong(Long.java:631)
at rundeck.controllers.ExecutionController.tailExecutionOutput(ExecutionController.groovy:840)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:696)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1515)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:582)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:448)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:261)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:101)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at com.dtolabs.rundeck.server.filters.AuthFilter.doFilter(AuthFilter.java:74)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:529)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:448)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:446)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:271)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:246)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
at java.lang.Thread.run(Thread.java:745)

@qicaihuoyan

This comment has been minimized.

Show comment
Hide comment
@qicaihuoyan

qicaihuoyan Aug 4, 2017

But through the api interface can be run the results

qicaihuoyan commented Aug 4, 2017

But through the api interface can be run the results

@ioannisas

This comment has been minimized.

Show comment
Hide comment
@ioannisas

ioannisas Aug 4, 2017

Same issue here.

Trying 2.9.0 as an update from 2.8.2-1 and from scratch. This occurs on both setups.

I'm using MySQL as Rundeck database.
I can extract log via API but from UI the above issue is happening.

No matter what type of job and the log level you choose. Also, no matter what the Render Formatted Data option is configured to be.

ioannisas commented Aug 4, 2017

Same issue here.

Trying 2.9.0 as an update from 2.8.2-1 and from scratch. This occurs on both setups.

I'm using MySQL as Rundeck database.
I can extract log via API but from UI the above issue is happening.

No matter what type of job and the log level you choose. Also, no matter what the Render Formatted Data option is configured to be.

@kurlzor

This comment has been minimized.

Show comment
Hide comment
@kurlzor

kurlzor Aug 4, 2017

Exact same problem after upgrading from 2.8.4. A new instance also exhibits the same behavior.
image

kurlzor commented Aug 4, 2017

Exact same problem after upgrading from 2.8.4. A new instance also exhibits the same behavior.
image

@kurlzor

This comment has been minimized.

Show comment
Hide comment
@kurlzor

kurlzor Aug 4, 2017

@qicaihuoyan You might want to change the title of this issue to something a bit more explicit, like "Error on Log Output tab on rundeck 2.9.0" so affected people can upvote it instead of creating new issues.

kurlzor commented Aug 4, 2017

@qicaihuoyan You might want to change the title of this issue to something a bit more explicit, like "Error on Log Output tab on rundeck 2.9.0" so affected people can upvote it instead of creating new issues.

@qicaihuoyan qicaihuoyan changed the title from 2.9.0 rundeck running the job to Error on Log Output tab on rundeck 2.9.0 Aug 4, 2017

@qicaihuoyan

This comment has been minimized.

Show comment
Hide comment
@qicaihuoyan

qicaihuoyan Aug 4, 2017

Thanks for reminding

qicaihuoyan commented Aug 4, 2017

Thanks for reminding

@gschueler gschueler modified the milestone: 2.9.1 Aug 4, 2017

@gschueler gschueler closed this in 35bf9ff Aug 4, 2017

gschueler added a commit that referenced this issue Aug 4, 2017

Merge pull request #2669 from rundeck/rundeck-2667
Fix #2667 use jquery/json instead of prototype/eval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment