Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-305

Accessing invalid PATH throws exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.9.10 Code Name: Mensa
    • Component/s: server
    • Labels:
      None
    • External issue ID:
      362
    • Rank:
      1|hzyatb:

      Description

      This should probably be handled with a nice error message, instead.

      ==> logs/loom-server.log <==
      2014-08-12 10:47:38,650 - ERROR [New I/O worker COOPR-4:c.c.h.RequestRouter@112] - Exception caught in channel processing.
      com.continuuity.http.HandlerException: Problem accessing: /v1/superadmin/imagetypes/ubuntu12. Reason: Not Found
              at com.continuuity.http.HttpResourceHandler.getDestinationMethod(HttpResourceHandler.java:257) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at com.continuuity.http.RequestRouter.handleRequest(RequestRouter.java:90) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at com.continuuity.http.RequestRouter.messageReceived(RequestRouter.java:79) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:69) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at com.continuuity.http.NettyHttpService$2.handleUpstream(NettyHttpService.java:179) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) ~[loom-0.9.8-SNAPSHOT-jar-with-dependencies.jar:na]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_55]
              at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chris Chris Gianelloni
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: