Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3105

NPE when accessing http://localhost:9990/quickstart/

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • Java-SCA-1.x
    • Java SCA Tutorial
    • None
    • Mac OS 10.5.7, I haven't tried in other environments yet

    Description

      when I try to access the url http://localhost:9990/quickstart/ I get:

      HTTP ERROR: 500

      java.lang.NullPointerException

      RequestURI=/quickstart/

      Powered by Jetty://

      and on the console it prints:

      Jun 17, 2009 10:41:59 PM org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main

      INFO: Apache Tuscany SCA Domain Manager is starting...

      Jun 17, 2009 10:41:59 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>

      INFO: Creating node: DomainManager.composite

      Jun 17, 2009 10:42:00 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode

      INFO: Loading contribution: file:/Users/philliperamalho/.m2/repository/org/apache/tuscany/sca/tuscany-domain-manager/1.6-SNAPSHOT/tuscany-domain-manager-1.6-SNAPSHOT.jar

      Jun 17, 2009 10:42:01 PM org.apache.tuscany.sca.node.impl.NodeImpl start

      INFO: Starting node: DomainManager.composite

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/home/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/home/home.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/home-gadget/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/home-gadget/home-gadget.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/workspace/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/workspace/workspace.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/workspace-gadget/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/workspace-gadget/workspace-gadget.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/files/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/files/files.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/files-gadget/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/files-gadget/files-gadget.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/composite/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/composite/composite.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/composite-gadget/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/composite-gadget/composite-gadget.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/cloud/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/cloud/cloud.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/cloud-gadget/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ui/cloud-gadget/cloud-gadget.js

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/workspace/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/workspace/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/contribution/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/feed/files/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/feed/files/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/files/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite-source/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/deployable/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/deployable/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite-generated/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite-resolved/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/cloud/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/cloud/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/cloud-source/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite-config/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/composite-config/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/node-config/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/quickstart/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/processes/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/processes/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/node/processes/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/node/processes/

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping

      INFO: Added Servlet mapping: http://ramalho-mac.local:9990/ping/*

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main

      INFO: SCA Domain Manager is now started.

      Jun 17, 2009 10:42:02 PM org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main

      INFO: Press 'q' to quit, 'r' to restart.

      Jun 17, 2009 10:42:09 PM org.apache.tuscany.sca.domain.manager.impl.QuickStartServiceImpl doGet

      SEVERE: Could not start composite

      java.lang.NullPointerException

      at org.apache.tuscany.sca.domain.manager.impl.QuickStartServiceImpl.doGet(QuickStartServiceImpl.java:112)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:156)

      at org.apache.tuscany.sca.binding.http.provider.HTTPServiceListenerServlet.service(HTTPServiceListenerServlet.java:118)

      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)

      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)

      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

      at org.mortbay.jetty.Server.handle(Server.java:324)

      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)

      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

      at org.apache.tuscany.sca.core.work.Work.run(Work.java:63)

      at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork.run(ThreadPoolWorkManager.java:215)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

      at java.lang.Thread.run(Thread.java:613)

      Attachments

        Activity

          People

            Unassigned Unassigned
            phillipe.ramalho Phillipe Ramalho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: