Fabian,
I just did and the file seems to be OK: /Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel ... opens in RuleModeler perfectly. Cheers, Flavio On 30/10/2014, at 14:24, Fabian Peters <lists.fab...@e-lumo.com> wrote: > Hi Flavio, > > It looks like your classpath isn't as it should be. Instead of a WOSession > you get a org.apache.axis.session.Session. And the d2wmodel files don't seem > to get referenced correctly either. You could open one of them, e.g. > /Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel > in RuleModeler and see whether it can be opened at all and whether the > contents look OK. > > Fabian > > Am 30.10.2014 um 16:01 schrieb Flavio Donadio <fla...@donadio.com.br>: > >> Fabian, >> >> >> I see these on the console with no debugging enabled: >> >> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >> from >> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel >> for reason: ** DirectToWeb exception - a rule cannot be instantiated if its >> right hand side is null. LHS=(look = 'ERModernLook') RHS=null >> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >> from >> file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernDirectToWeb/build/ERModernDirectToWeb.framework/Resources/d2w.d2wmodel >> for reason: ** DirectToWeb exception - a rule cannot be instantiated if its >> right hand side is null. LHS=null RHS=null >> [2014-10-30 12:45:55 BRST] <main> ** DirectToWeb could not merge d2wmodel >> from >> file:/Users/fdonadio/Projects/WonderSource/Frameworks/Core/ERDirectToWeb/build/ERDirectToWeb.framework/Resources/d2w.d2wmodel >> for reason: ** DirectToWeb exception - a rule cannot be instantiated if its >> right hand side is null. LHS=null RHS=null >> >> >> Cheers, >> Flavio >> >> On 29/10/2014, at 18:36, Fabian Peters <lists.fab...@e-lumo.com> wrote: >> >>> Hi Flavio, >>> >>> Assuming you're starting out with an empty rule file, you're probably >>> missing one or more d2w.d2wmodel files from ERDirectToWeb or >>> JavaDirectToWeb. If you enable debug logging on er.directtoweb.ERD2WModel, >>> you'll see which files get loaded. >>> >>> Fabian >>> >>> Am 29.10.2014 um 20:46 schrieb Flavio Donadio <fla...@donadio.com.br>: >>> >>>> Hello, all! >>>> >>>> >>>> I am getting this error when I run the app for the first time: >>>> >>>> [2014-10-29 17:37:34 BRST] <WorkerThread1> >>>> <br.com.codeprint.website.DirectAction>: Exception in performActionNamed() >>>> on the action "login" with the message: >>>> com.webobjects.directtoweb.D2WModelException: Error - could not find any >>>> rule that returns a pageName using the current context <D2WContext >>>> task=list, entity=Product, propertyKey=null, pageConfiguration=null> >>>> - Error with action login:com.webobjects.directtoweb.D2WModelException: >>>> Error - could not find any rule that returns a pageName using the current >>>> context <D2WContext task=list, entity=Product, propertyKey=null, >>>> pageConfiguration=null>, formValues:{username = (""); password = (""); >>>> wosid = ("WnGhLWoSK3H0Bvw752rq0g"); WOSubmitAction = ("login"); } >>>> com.webobjects.directtoweb.D2WModelException: Error - could not find any >>>> rule that returns a pageName using the current context <D2WContext >>>> task=list, entity=Product, propertyKey=null, pageConfiguration=null> >>>> at com.webobjects.directtoweb.D2WContext.pageName(D2WContext.java:734) >>>> at >>>> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:874) >>>> at >>>> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:859) >>>> at >>>> com.webobjects.directtoweb.D2W.pageForTaskAndEntityNamed(D2W.java:896) >>>> at com.webobjects.directtoweb.D2W.listPageForEntityNamed(D2W.java:1034) >>>> at >>>> br.com.codeprint.website.MainNavigationController.listPageForEntityName(MainNavigationController.java:32) >>>> at >>>> br.com.codeprint.website.MainNavigationController.homeAction(MainNavigationController.java:26) >>>> at >>>> br.com.codeprint.website.DirectAction.loginAction(DirectAction.java:72) >>>> 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:456) >>>> at >>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259) >>>> at >>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158) >>>> at >>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) >>>> 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) >>>> >>>> It's a new application and I triple-checked the boilerpate code that >>>> should go into MainNavigationController.java. NavigationMenu.plist also >>>> seems to be good. >>>> >>>> d2w.d2wmodel is empty, which seems strange. I had never looked into that >>>> file before, I think. >>>> >>>> I still did not implement authentication, but changed the code according >>>> to the tutorial at >>>> http://wiki.wocommunity.org/display/WEB/Your+First+D2W+Project . >>>> >>>> Eclipse 4.4 (Luna) and WOLips 4.4 compiled by myself. >>>> >>>> >>>> Cheers, >>>> Flavio >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com >>>> >>>> This email sent to lists.fab...@e-lumo.com >> > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com