return pageWithName(PPWebMain.class.getName());




On Jan 8, 2013, at 3:55 PM, Chuck Hill <[email protected]> wrote:

> Using strings or .class?
> 
> 
> On 2013-01-08, at 1:42 PM, James Cicenia wrote:
> 
>> Refactored the component name, same problem.. "Unable to find framework 
>> named "PurplePush"
>> ?
>> 
>> 
>> 
>> On Jan 8, 2013, at 3:19 PM, Chuck Hill <[email protected]> wrote:
>> 
>>> That means there is another class named Main in some other package.  It is 
>>> a rather common name in Java and an unfortunate choice for a page name,
>>> 
>>> 
>>> On 2013-01-08, at 1:13 PM, James Cicenia wrote:
>>> 
>>>> Actually that was what it was.
>>>> 
>>>> I was grasping at straws for my buddy.
>>>> 
>>>> My setup works, his doesn't. We reviewed properties files, etc.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On Jan 8, 2013, at 3:07 PM, Chuck Hill <[email protected]> wrote:
>>>> 
>>>>> 
>>>>> On 2013-01-08, at 1:02 PM, James Cicenia wrote:
>>>>> 
>>>>>> It can't find the framework it is in?
>>>>>> 
>>>>>> Seems as thought pageWithName("Main") doesn't seem to work suddenly. 
>>>>> 
>>>>> Who uses strings anymore?  pageWithName(Main.class.getName())
>>>>> 
>>>>> 
>>>>>> 
>>>>>> What causes this?
>>>>>> 
>>>>>> Getting the following error:
>>>>>> 
>>>>>> 
>>>>>> java.lang.IllegalStateException: Unable to find framework named 
>>>>>> "PurplePush".
>>>>>>  at 
>>>>>> com.webobjects.appserver._private.WOComponentDefinition.<init>(WOComponentDefinition.java:249)
>>>>>>  at 
>>>>>> com.webobjects.appserver.WOApplication._componentDefinitionFromClassNamed(WOApplication.java:2785)
>>>>>>  at 
>>>>>> com.webobjects.appserver.WOApplication._componentDefinition(WOApplication.java:2889)
>>>>>>  at 
>>>>>> er.extensions.appserver.ERXApplication._componentDefinition(ERXApplication.java:1567)
>>>>>>  at 
>>>>>> com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2321)
>>>>>>  at com.webobjects.appserver.WOAction.pageWithName(WOAction.java:125)
>>>>>>  at com.pp.app.DirectAction.defaultAction(DirectAction.java:26)
>>>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>  at 
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>  at 
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>  at java.lang.reflect.Method.invoke(Method.java:601)
>>>>>>  at 
>>>>>> com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
>>>>>>  at 
>>>>>> er.extensions.appserver.ERXDirectAction.performActionNamed(ERXDirectAction.java:418)
>>>>>>  at 
>>>>>> er.directtoweb.ERD2WDirectAction.performActionNamed(ERD2WDirectAction.java:462)
>>>>>>  at com.pp.app.DirectAction.performActionNamed(DirectAction.java:91)
>>>>>>  at 
>>>>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
>>>>>>  at 
>>>>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:161)
>>>>>>  at 
>>>>>> er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:126)
>>>>>>  at 
>>>>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>>>>>  at 
>>>>>> er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2150)
>>>>>>  at 
>>>>>> er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2115)
>>>>>>  at com.pp.app.Application.dispatchRequest(Application.java:86)
>>>>>>  at 
>>>>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>>>>>>  at 
>>>>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>>>>>>  at java.lang.Thread.run(Thread.java:722)
>>>>>> DEBUG (Session.java:19) - Session created: pHvAtgbtPGsvVg6chmmRjM
>>>>>> DEBUG (ERXNSLogLog4jBridge.java:46) - 
>>>>>> <com.webobjects.appserver._private.WOComponentDefinition> No template 
>>>>>> found for component PageWrapper at 
>>>>>> "file:/Users/metaware/Documents/PurplePush/build/PurplePush.woa/".
>>>>>> WARN  (ERXNSLogLog4jBridge.java:43) - 
>>>>>> <er.extensions.appserver.ERXDirectActionRequestHandler>: Exception while 
>>>>>> handling action named "default" on action class "null" 
>>>>>> :java.lang.IllegalStateException: Unable to find framework named 
>>>>>> "PurplePush".
>>>>>> ERROR (ERXApplication.java:1838) - Exception caught: Unable to find 
>>>>>> framework named "PurplePush".
>>>>>> Extra info: {
>>>>>>  "D2W-SubTask" = "null";
>>>>>>  "D2W-PageConfiguration" = "Error";
>>>>>>  "CurrentComponent" = "er.r2d2w.pages.R2D2WErrorPage";
>>>>>>  "PreviousPageList" = ();
>>>>>>  "D2W-PropertyKey" = "null";
>>>>>>  "D2W-DisplayPropertyKeys" = ();
>>>>>>  "CurrentPage" = "er.r2d2w.pages.R2D2WErrorPage";
>>>>>>  "URL" = "/cgi-bin/WebObjects/PurplePush.woa";
>>>>>>  "Bundles" = {
>>>>>>          "JavaFoundation" = "";
>>>>>>          "ERDirectToWeb" = "";
>>>>>>          "JavaWebObjects" = "";
>>>>>>          "ERJavaMail" = "";
>>>>>>          "JavaJDBCAdaptor" = "";
>>>>>>          "ERExcelLook" = "";
>>>>>>          "PurplePushModelFramework" = "";
>>>>>>          "JavaEOProject" = "";
>>>>>>          "JavaWOExtensions" = "";
>>>>>>          "ERAttributeExtension" = "";
>>>>>>          "JavaEOControl" = "";
>>>>>>          "ERModernDefaultSkin" = "";
>>>>>>          "MySQLPlugIn" = "";
>>>>>>          "PurplePush" = "";
>>>>>>          "JavaDTWGeneration" = "";
>>>>>>          "ERUsers" = "";
>>>>>>          "JavaDirectToWeb" = "";
>>>>>>          "ERPrototypes" = "";
>>>>>>          "ERExtensions" = "";
>>>>>>          "PurplePushJoomlaModelFramework" = "";
>>>>>>          "JavaEOAccess" = "";
>>>>>>          "JavaXML" = "";
>>>>>>          "ERAttachment" = "";
>>>>>>          "ERTaggable" = "";
>>>>>>          "ERAuth" = "";
>>>>>>          "ERCoreBL" = "";
>>>>>>          "WOLips" = "";
>>>>>>          "ExcelGenerator" = "";
>>>>>>          "ERR2d2w" = "";
>>>>>>          "ERPDFGeneration" = "";
>>>>>>          "ERRest" = "";
>>>>>>  };
>>>>>>  "D2W-EntityName" = "null";
>>>>>>  "D2W-ComponentName" = "R2D2WDisplayString";
>>>>>>  "Session" = "<com.pp.app.Session sessionID=pHvAtgbtPGsvVg6chmmRjM 
>>>>>> timeOut(sec)=3600.0 terminating=false _wasTimedOut=false 
>>>>>> contextArray=null contextPageInfos=null languages=(\"English_US\", 
>>>>>> \"English\", \"Nonlocalized\") componentState=null currentContextID=0 
>>>>>> distributionEnabled=false cookieRendezVousEnabled=true 
>>>>>> URLRendezVousEnabled=fals 
>>>>>> localizer=<er.extensions.localization.ERXLocalizer English> 
>>>>>> messageEncoding=<er.extensions.appserver.ERXMessageEncoding encoding: 
>>>>>> UTF-8> browser=<er.extensions.appserver.ERXBasicBrowser browserName: 
>>>>>> Chrome, version: 23.0.1271.101, mozillaVersion: 5.0, platform: MacOS>>";
>>>>>>  "Headers" = {
>>>>>>          "cache-control" = "max-age=0";
>>>>>>          "accept-encoding" = "gzip,deflate,sdch";
>>>>>>          "cookie" = "wosid=xXBvjmTtaPKHp955KsrEV0; woinst=-1";
>>>>>>          "user-agent" = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) 
>>>>>> AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 
>>>>>> Safari/537.11";
>>>>>>          "accept-charset" = "ISO-8859-1,utf-8;q=0.7,*;q=0.3";
>>>>>>          "accept" = 
>>>>>> "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
>>>>>>          "host" = "127.0.0.1:57777";
>>>>>>          "accept-language" = "en-US,en;q=0.8";
>>>>>>          "connection" = "keep-alive";
>>>>>>  };
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list      ([email protected])
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>>>> 
>>>>>> This email sent to [email protected]
>>>>> 
>>>>> -- 
>>>>> Chuck Hill             Senior Consultant / VP Development
>>>>> 
>>>>> 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/gvc/practical_webobjects
>>>>> 
>>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>>>>> Growing Companies in B.C! 
>>>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
>>>>> Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>> 
>>>> This email sent to [email protected]
>>> 
>>> -- 
>>> Chuck Hill             Senior Consultant / VP Development
>>> 
>>> 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/gvc/practical_webobjects
>>> 
>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>>> Growing Companies in B.C! 
>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
>>> Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to [email protected]
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> 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/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to