java.lang.RuntimeException: Unhandled line style!

Pentaho BI Platform Tracking | John Fitzpatrick | 1 year ago
  1. 0

    When Carte is running a job and it displays on the status page, if I click a job name, the job page shows up and the log displays in the bottoms section, but the top part which should show the image of the job is blank and in the console log there is an error which repeats every 5 seconds while staying on the Carte job details page. The job will continue to run. {quote} java.lang.RuntimeException: Unhandled line style! at org.pentaho.di.core.gui.SwingGC.createStroke(SwingGC.java:645) at org.pentaho.di.core.gui.SwingGC.setLineStyle(SwingGC.java:626) at org.pentaho.di.job.JobPainter.drawLine(JobPainter.java:476) at org.pentaho.di.job.JobPainter.drawJobHop(JobPainter.java:443) at org.pentaho.di.job.JobPainter.drawJobElements(JobPainter.java:140) at org.pentaho.di.job.JobPainter.drawJob(JobPainter.java:110) at org.pentaho.di.www.GetJobImageServlet.generateJobImage(GetJobImageServlet.java:199) at org.pentaho.di.www.GetJobImageServlet.doGet(GetJobImageServlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) 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:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) 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:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {quote}

    Pentaho BI Platform Tracking | 1 year ago | John Fitzpatrick
    java.lang.RuntimeException: Unhandled line style!
  2. 0

    When Carte is running a job and it displays on the status page, if I click a job name, the job page shows up and the log displays in the bottoms section, but the top part which should show the image of the job is blank and in the console log there is an error which repeats every 5 seconds while staying on the Carte job details page. The job will continue to run. {quote} java.lang.RuntimeException: Unhandled line style! at org.pentaho.di.core.gui.SwingGC.createStroke(SwingGC.java:645) at org.pentaho.di.core.gui.SwingGC.setLineStyle(SwingGC.java:626) at org.pentaho.di.job.JobPainter.drawLine(JobPainter.java:476) at org.pentaho.di.job.JobPainter.drawJobHop(JobPainter.java:443) at org.pentaho.di.job.JobPainter.drawJobElements(JobPainter.java:140) at org.pentaho.di.job.JobPainter.drawJob(JobPainter.java:110) at org.pentaho.di.www.GetJobImageServlet.generateJobImage(GetJobImageServlet.java:199) at org.pentaho.di.www.GetJobImageServlet.doGet(GetJobImageServlet.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) 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:390) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) 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:536) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {quote}

    Pentaho BI Platform Tracking | 1 year ago | John Fitzpatrick
    java.lang.RuntimeException: Unhandled line style!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    The issue occurs when an actor sends a message using !? in certain scenarios. One example is given in the code. An unhandled timeput exception is thrown in the following code. See screenshot of the run. {noformat} package test import scala.actors.Actor object Run { def main(args: Array[String]) = { while (true) {A1 ! 1; Thread.sleep(1000) } } } object A2 extends Actor { this.start def act = loop { react { case _ => } } } object A1 extends Actor { this.start def act = loop { react { case any => A2 !? (1000, any) } } } {noformat} Save above code into a file test.scala and use following to run: Assume Scala 2.9.0.1 is installed in C:\scala-2.9.0.1 {noformat} scalac test.scala java -cp .;c:\scala-2.9.0.1\lib\scala-library.jar test.Run {noformat} Exception thrown is: {noformat} test.A1$@785f8172: caught java.lang.RuntimeException: unhandled timeout java.lang.RuntimeException: unhandled timeout at scala.sys.package$.error(package.scala:27) at scala.actors.Actor$class.receiveWithin(Actor.scala:606) at test.A1$.receiveWithin(test.scala:10) at scala.actors.Channel.receiveWithin(Channel.scala:71) at scala.actors.ActorCanReply$class.$bang$qmark(ActorCanReply.scala:32) at test.A2$.$bang$qmark(test.scala:6) at test.A1$$anonfun$act$2$$anonfun$apply$2.apply(test.scala:12) at test.A1$$anonfun$act$2$$anonfun$apply$2.apply(test.scala:12) at scala.actors.ReactorTask.run(ReactorTask.scala:31) at scala.actors.ReactorTask.compute(ReactorTask.scala:63) at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:147) at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422) at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325){noformat}

    Scala JIRA | 5 years ago | Amitabh
    java.lang.RuntimeException: unhandled timeout

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unhandled line style!

      at org.pentaho.di.core.gui.SwingGC.createStroke()
    2. org.pentaho.di
      GetJobImageServlet.doGet
      1. org.pentaho.di.core.gui.SwingGC.createStroke(SwingGC.java:645)
      2. org.pentaho.di.core.gui.SwingGC.setLineStyle(SwingGC.java:626)
      3. org.pentaho.di.job.JobPainter.drawLine(JobPainter.java:476)
      4. org.pentaho.di.job.JobPainter.drawJobHop(JobPainter.java:443)
      5. org.pentaho.di.job.JobPainter.drawJobElements(JobPainter.java:140)
      6. org.pentaho.di.job.JobPainter.drawJob(JobPainter.java:110)
      7. org.pentaho.di.www.GetJobImageServlet.generateJobImage(GetJobImageServlet.java:199)
      8. org.pentaho.di.www.GetJobImageServlet.doGet(GetJobImageServlet.java:170)
      8 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    4. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      5. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      6. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.Server.handle(Server.java:326)
      9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      10. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
      11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
      12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      14. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      14 frames
    5. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame