Re: Which eclipse version?

From: Mike Schrag (mschra..dimension.com)
Date: Fri Mar 30 2007 - 12:36:12 EDT

  • Next message: Jonathan Ricker: "Re: Which eclipse version?"

    Make sure you're running as a WOLips application and not a Java
    application. Running as a Java application will bork NSBundle
    lookups, and quite possibly cause an error that looks like this.

    On Mar 30, 2007, at 12:29 PM, Chuck Hill wrote:

    >
    > On Mar 30, 2007, at 8:16 AM, Jonathan Ricker wrote:
    >
    >>
    >> On Mar 30, 2007, at 10:51 AM, Chuck Hill wrote:
    >>
    >>>
    >>> I am running Version: 3.2.2 Build id: M20070212-1330 without
    >>> problems.
    >>
    >> Thanks, I feel ok about that now.
    >
    > :-)
    >
    >
    >>>> With 3.2.2 on the new computer I'm running into an error when I
    >>>> try an app that works on the original computer:
    >>>>
    >>>> java.lang.IllegalStateException: Unable to find framework named
    >>>> "MyAppName". (The app, not a framework).
    >>>
    >>> Launching from Eclipse? What is the working directory? What is
    >>> the whole error?
    >>>
    >>
    >> Yes. launching from Eclipse.
    >>
    >> Here is the stack trace of the exception:
    >>
    >> java.lang.IllegalStateException: Unable to find framework named
    >> "NetSoftware".
    >> at com.webobjects.appserver._private.WOComponentDefinition.<init>
    >> (WOComponentDefinition.java:179)
    >> at
    >> com.webobjects.appserver.WOApplication._componentDefinitionFromClassN
    >> amed(WOApplication.java:2353)
    >> at com.webobjects.appserver.WOApplication._componentDefinition
    >> (WOApplication.java:2448)
    >> at com.webobjects.appserver.WOApplication.pageWithName
    >> (WOApplication.java:1943)
    >>
    >
    > That is an odd one, I don't think I have seen that before.
    > NetSoftware is the app name? Look in the launcher under the
    > Arguments tab, what is the working directory set to? It should be
    > something like ${workspace_loc: NetSoftware/build/NetSoftware.woa}
    >
    > Chuck
    >
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
    >> WithPreparedSession(WOComponentRequestHandler.java:273)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._dispatch
    >> WithPreparedApplication(WOComponentRequestHandler.java:322)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler._handleRe
    >> quest(WOComponentRequestHandler.java:358)
    >> at
    >> com.webobjects.appserver._private.WOComponentRequestHandler.handleReq
    >> uest(WOComponentRequestHandler.java:435)
    >> at com.webobjects.appserver.WOApplication.dispatchRequest
    >> (WOApplication.java:1306)
    >> at er.extensions.ERXApplication.dispatchRequest
    >> (ERXApplication.java:1105)
    >> at ita.wo.ITAERXApplication.dispatchRequest
    >> (ITAERXApplication.java:425)
    >> at Application.dispatchRequest(Application.java:204)
    >> 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:613)
    >
    > --
    >
    > Practical WebObjects - for developers who want to increase their
    > overall knowledge of WebObjects or who are trying to solve specific
    > problems.
    > http://www.global-village.net/products/practical_webobjects
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Mar 30 2007 - 12:36:41 EDT