Application mistaken for Framework?

From: Ashley Aitken (mrhatke..ac.com)
Date: Sun Aug 15 2004 - 00:52:23 EDT

  • Next message: Ashley Aitken: "Re: Application mistaken for Framework?"

    More woes.

    My Application that uses a few Frameworks now can't open it's first
    WOcomponent page because it "can't find the Framework corresponding to
    the Application." If you follow that, congratulations!

    Here's the error:

    [2004-08-15 12:42:05 WST] <WorkerThread0>
    java.lang.IllegalStateException: Unable to find framework named
    "RCApplication".
            at
    com.webobjects.appserver._private.WOComponentDefinition.<init>(WOCompone
    ntDefinition.java:179)
            at
    com.webobjects.appserver.WOApplication._componentDefinitionFromClassName
    d(WOApplication.java:2353)
            at
    com.webobjects.appserver.WOApplication._componentDefinition(WOApplicatio
    n.java:2448)
            at
    com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:
    1943)
            at
    com.runningcode.myapplication.webobjects.appserver.Application.pageWithN
    ame(Application.java:64)
            at
    com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
    hPreparedSession(WOComponentRequestHandler.java:273)
            at
    com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit
    hPreparedApplication(WOComponentRequestHandler.java:322)
            at
    com.webobjects.appserver._private.WOComponentRequestHandler._handleReque
    st(WOComponentRequestHandler.java:358)
            at
    com.webobjects.appserver._private.WOComponentRequestHandler.handleReques
    t(WOComponentRequestHandler.java:432)
            at
    com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav
    a:1306)
            at
    er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:630)
            at
    com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.
    java:173)
            at
    com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java
    :254)
            at java.lang.Thread.run(Thread.java:552)

    where RCApplication is actuallyan application (the one currently being
    run), not a framework. Something is mistaking the application for a
    framework? The application is trying to open the first page (by calling
    pageWithName with null and the logic there trying to return a local
    WOcomponent.

    I'm guess this is PB.project related, but it looks ok. I've cleaned
    all the projects and rebuilt, same problem. Same configuration WOLips
    Beta 2, Eclipse 3.0.0, WO 5.2.3, Subclipse 0.9.12, MacOSX 10.3.5, ....

    Any suggestions?

    Cheers,
    Ashley.

    --
    Ashley Aitken
    Perth, Western Australia
    mrhatken at mac dot com
    



    This archive was generated by hypermail 2.0.0 : Sun Aug 15 2004 - 00:52:47 EDT