wow, it wasn't so bad. I found that I had to 'refresh' WOOgnl in the WOExplorer window.
sometimes things are more simple than cream cheese on a bagel. Ted --- On Thu, 12/6/12, Theodore Petrosky <[email protected]> wrote: > From: Theodore Petrosky <[email protected]> > Subject: what did I break > To: "WebObjects Development" <[email protected]> > Date: Thursday, December 6, 2012, 10:39 AM > I have a wonder app that is in > production. The last build was three months ago. I need to > make a change so I fired up eclipse and built in develop > mode, at least I thought it should build and run. It died > and there were lots of errors that didn't exist before. > > as i said it is a wonder app however I used the d2w excel > example to download some excel reports. I am now seeing a > bunch of errors like this: > > Dec 06 10:22:17 ASColorGrid[50056] ERROR > er.directtoweb.ERD2WModel - Problems with this rule: > java.lang.IllegalArgumentException: ** DirectToWeb exception > - a rule cannot be instantiated if its right hand side is > null. LHS=(look = 'ERModernLook') RHS=null > 10 : (look = 'ERModernLook') => > selectEmbeddedConfigurationName = > <ERMDDefaultConfigurationNameAssignment> > [er.modern.directtoweb.assignments.defaults.ERMDDefaultConfigurationNameAssignment] > (10001) > IllegalArgumentException: ** DirectToWeb exception - a rule > cannot be instantiated if its right hand side is null. > LHS=(look = 'ERModernLook') RHS=null > at > com.webobjects.directtoweb.Rule.<init>(Rule.java:211) > > I do have a rule in my user.d2wmodel file: > > 100 : *true* => look = "ERModernLook" > [com.webobjects.directtoweb.Assignment] > > so I don't understand the 10 or so errors like above. > > now we get to my app starting up. > > Dec 06 10:29:14 ASColorGrid[50342] INFO > er.extensions.appserver.ERXApplication - Welcome to > ASColorGrid ! > Dec 06 10:29:14 ASColorGrid[50342] WARN > er.extensions.eof.ERXModelGroup - Clearing previous > class descriptions > Dec 06 10:29:15 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@1709651096 > Dec 06 10:29:15 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@774773612 > Dec 06 10:29:15 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@1426745123 > Dec 06 10:29:15 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@761513403 > Dec 06 10:29:15 ASColorGrid[50342] INFO > er.corebusinesslogic.audittrail.ERCAuditTrail - > Configuration : {Project = { isAudited =true; keys = > ("projectDescription", "nextSteps", "projectStatus", > "responsibility", "timing"); notificationKeys = ();}; User = > { isAudited =true; keys = ("userName", "firstName"); > notificationKeys = ();}; Grid = { isAudited =true; keys = > ("image", "comments", "pickUp", "isComplete", "publication", > "center", "headLine", "itemStatus", "internalRelease", > "materialClose", "orientation", "jobNumber"); > notificationKeys = ();}; } > Dec 06 10:29:15 ASColorGrid[50342] WARN > er.extensions.migration.ERXMigrator - > er.migration.modelNames is not set, defaulting to > modelGroup.models() order instead. > Dec 06 10:29:15 ASColorGrid[50342] INFO > er.extensions.eof.ERXObjectStoreCoordinatorPool - > initializing Pool... > Dec 06 10:29:15 ASColorGrid[50342] INFO > er.extensions.eof.ERXObjectStoreCoordinatorPool - > initializing Pool finished > Dec 06 10:29:15 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@1944941860 > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for ERXJDBCAdaptor@325987184 > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - > connecting with dictionary: {plugin = "PostgresqlPlugIn"; > username = "admin"; driver = "org.postgresql.Driver"; > password = "<password deleted for log>"; URL = > "jdbc:postgresql://localhost/colorgrid?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull"; > } > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - > === Begin Internal Transaction > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - Using > JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@867154915 > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - > fetching JDBC Info with JDBCContext@1448627863 > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - > connecting with dictionary: {plugin = "PostgresqlPlugIn"; > username = "admin"; driver = "org.postgresql.Driver"; > password = "<password deleted for log>"; URL = > "jdbc:postgresql://localhost/colorgrid?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull"; > } > Dec 06 10:29:16 ASColorGrid[50342] DEBUG NSLog - > connection disconnected. > > > then a little later: > > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > evaluateExpression: > <com.webobjects.jdbcadaptor.PostgresqlExpression: "SELECT > t0.version FROM _dbupdater t0 WHERE t0.modelname = > ?::varchar(100)" withBindings: > 1:"ColorGridModel"(modelName)> > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - fetch > canceled > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - 1 > row(s) processed > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > === Commit Internal Transaction > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > === Begin Internal Transaction > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > evaluateExpression: > <com.webobjects.jdbcadaptor.PostgresqlExpression: "UPDATE > _dbupdater SET lockowner = NULL, updatelock = ?::int4 WHERE > modelname = ?::varchar(100)" withBindings: 1:0(updateLock), > 2:"ColorGridModel"(modelName)> > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > === Commit Internal Transaction > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > === Begin Internal Transaction > Dec 06 10:29:17 ASColorGrid[50342] DEBUG NSLog - > === Commit Internal Transaction > Dec 06 10:29:17 ASColorGrid[50342] ERROR > er.extensions.appserver.ERXApplication - ASColorGrid > failed to start. > NullPointerException > at > com.webobjects.appserver.parser.WOComponentTemplateParser$Factory.setWOHTMLTemplateParserClassName(WOComponentTemplateParser.java:156) > at > com.webobjects.appserver.parser.WOComponentTemplateParser.setWOHTMLTemplateParserClassName(WOComponentTemplateParser.java:362) > ... skipped 4 stack elements > at > ognl.webobjects.WOOgnl.configureWOForOgnl(WOOgnl.java:159) > at > ognl.webobjects.WOOgnl$Observer.configureWOOgnl(WOOgnl.java:94) > ... skipped 13 stack elements > Dec 06 10:29:17 ASColorGrid[50342] WARN NSLog - > A fatal exception occurred: Failed to set the template > parser to WOHelperFunctionParser54. > [2012-12-6 10:29:17 EST] <ProcessChangesQueue> > java.lang.RuntimeException: Failed to set the template > parser to WOHelperFunctionParser54. > at > ognl.webobjects.WOOgnl.configureWOForOgnl(WOOgnl.java:162) > at > ognl.webobjects.WOOgnl$Observer.configureWOOgnl(WOOgnl.java:94) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:597) > at > com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) > at > com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588) > at > com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532) > at > com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:546) > at > com.webobjects.appserver.WOApplication.run(WOApplication.java:1229) > at > er.extensions.appserver.ERXApplication.run(ERXApplication.java:1414) > at > com.webobjects.appserver.WOApplication.main(WOApplication.java:548) > at > er.extensions.appserver.ERXApplication.main(ERXApplication.java:862) > at > com.as.Application.main(Application.java:17) > Caused by: java.lang.reflect.InvocationTargetException > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:597) > at > ognl.webobjects.WOOgnl.configureWOForOgnl(WOOgnl.java:159) > ... 14 more > Caused by: java.lang.NullPointerException > at > com.webobjects.appserver.parser.WOComponentTemplateParser$Factory.setWOHTMLTemplateParserClassName(WOComponentTemplateParser.java:156) > at > com.webobjects.appserver.parser.WOComponentTemplateParser.setWOHTMLTemplateParserClassName(WOComponentTemplateParser.java:362) > ... 19 more > > APPLICATION SHUTDOWN SEQUENCE COMPLETE > > > the only thing I can think of is that I have updated Wonder > on my workstation and it is being more strict about > something. Except I don't have a clue what it is. Or I have > not linked to something because things have moved in > wonder. > > Please help. > > Ted > > > > _______________________________________________ > 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/tedpet5%40yahoo.com > > This email sent to [email protected] > _______________________________________________ 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]
