Re: Application mistaken for Framework?

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Sun Aug 15 2004 - 13:36:53 EDT

  • Next message: Brendan Duddridge: "Re: SVN and WOLips Error"

    Hi Ashley,

    can I get copies of the PB.project files.
    Am 15.08.2004 um 09:22 schrieb Ashley Aitken:

    >
    > Ok, it seems that the components are actually NOT there in the build
    > product. I guess the error message just standardises on "framework"
    > rather than "framework or application."
    >
    > Of course, I didn't check the build product into Subversion so when I
    > checked the project out with Subclipse and rebuilt it, it seems that
    > WOLips is not copying over the WO_COMPONENTS or WOAPP_RESOURCES.
    >
    > Just as it is not copying over the "Properties" file. Anything I can
    > do about this? They are all listed correctly in the PB.project file.

    Fix is in the cvs.

    >
    > Ulrich is this fixed in the next beta (Beta 3?)? Any idea when this
    > will be available? Are the fixes in the CVS HEAD?

    On the eclipse_3_0_0 branch. The next release is scheduled for tuesday.

    Ulrich

    >
    > Thanks,
    > Ashley.
    >
    >
    > On 15/08/2004, at 12:52 PM, Ashley Aitken wrote:
    >
    >>
    >> 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>(WOCompo
    >> nentDefinition.java:179)
    >> at
    >> com.webobjects.appserver.WOApplication._componentDefinitionFromClassNa
    >> med(WOApplication.java:2353)
    >> at
    >> com.webobjects.appserver.WOApplication._componentDefinition(WOApplicat
    >> ion.java:2448)
    >> at
    >> com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java
    >> :1943)
    >> at
    >> com.runningcode.myapplication.webobjects.appserver.Application.pageWit
    >> hName(Application.java:64)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
    >> ithPreparedSession(WOComponentRequestHandler.java:273)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchW
    >> ithPreparedApplication(WOComponentRequestHandler.java:322)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._handleReq
    >> uest(WOComponentRequestHandler.java:358)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequ
    >> est(WOComponentRequestHandler.java:432)
    >> at
    >> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.j
    >> ava:1306)
    >> at
    >> er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:630)
    >> at
    >> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThrea
    >> d.java:173)
    >> at
    >> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.ja
    >> va: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 - 13:33:52 EDT