Re: Connection to Postgresql...
Re: Connection to Postgresql...
- Subject: Re: Connection to Postgresql...
- From: Ramsey Lee Gurley <email@hidden>
- Date: Thu, 10 Dec 2009 19:02:39 -0500
I don't see ERX anything in that entire stack. Are you using Wonder? It does not look like it. I would strongly suggest you do. I honestly can't imagine trying to develop a WO app without it. I installed the latest postgres with WO 5.4.3 this weekend. Thanks to Wonder's prototypes and Postgresql plugin, it was painless and simple! Thank you team Wonder!!! (^_~)d
Ramsey
On Dec 10, 2009, at 6:43 PM, Michael Andronov wrote:
> I thinks, that is it:
> "
> PostgresqlExpression(JDBCExpression).columnTypeStringForAttribute(EOAttribute)
> line: 160
> PostgresqlExpression.columnTypeStringForAttribute(EOAttribute) line: 383
> PostgresqlExpression.sqlStringForValue(Object, String) line: 888
> PostgresqlExpression(EOSQLExpression).sqlStringForKeyValueQualifier(EOKeyValueQualifier)
> line: 1659
> EOQualifierSQLGeneration$_KeyValueQualifierSupport.sqlStringForSQLExpression(EOQualifier,
> EOSQLExpression) line: 463
> EOQualifierSQLGeneration$Support._sqlStringForSQLExpression(EOQualifier,
> EOSQLExpression) line: 165
> PostgresqlExpression(EOSQLExpression).prepareSelectExpressionWithAttributes(NSArray<EOAttribute>,
> boolean, EOFetchSpecification) line: 997
> PostgresqlExpression(JDBCExpression).prepareSelectExpressionWithAttributes(NSArray<EOAttribute>,
> boolean, EOFetchSpecification) line: 146
> PostgresqlExpression.prepareSelectExpressionWithAttributes(NSArray,
> boolean, EOFetchSpecification) line: 713
> JDBCExpressionFactory(EOSQLExpressionFactory).selectStatementForAttributes(NSArray,
> boolean, EOFetchSpecification, EOEntity) line: 225
> JDBCChannel.selectAttributes(NSArray<EOAttribute>,
> EOFetchSpecification, boolean, EOEntity) line: 213
> EODatabaseChannel._selectWithFetchSpecificationEditingContext(EOFetchSpecification,
> EOEditingContext) line: 897
> EODatabaseChannel.selectObjectsWithFetchSpecification(EOFetchSpecification,
> EOEditingContext) line: 234
> EODatabaseContext._objectsWithFetchSpecificationEditingContext(EOFetchSpecification,
> EOEditingContext) line: 3055
> EODatabaseContext.objectsWithFetchSpecification(EOFetchSpecification,
> EOEditingContext) line: 3195
> EOObjectStoreCoordinator.objectsWithFetchSpecification(EOFetchSpecification,
> EOEditingContext) line: 488
> EOEditingContext.objectsWithFetchSpecification(EOFetchSpecification,
> EOEditingContext) line: 4069
> EOEditingContext.objectsWithFetchSpecification(EOFetchSpecification) line: 4444
> _City.fetchCities(EOEditingContext, EOQualifier,
> NSArray<EOSortOrdering>) line: 88
> Main.searchDB() line: 55
> NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
> available [native method]
> NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
> DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
> Method.invoke(Object, Object...) line: 597
> NSKeyValueCoding$ValueAccessor$1.methodValue(Object, Method) line: 636
> NSKeyValueCoding$_MethodBinding.valueInObject(Object) line: 1134
> NSKeyValueCoding$DefaultImplementation.valueForKey(Object, String) line: 1324
> Main(WOComponent).valueForKey(String) line: 1736
> NSKeyValueCoding$Utility.valueForKey(Object, String) line: 447
> NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(Object,
> String) line: 212
> Main(WOComponent).valueForKeyPath(String) line: 1804
> WOKeyValueAssociation.valueInComponent(WOComponent) line: 50
> WOSubmitButton.invokeAction(WORequest, WOContext) line: 81
> WOForm(WODynamicGroup).invokeChildrenAction(WORequest, WOContext) line: 105
> WOForm(WODynamicGroup).invokeAction(WORequest, WOContext) line: 115
> WOForm.invokeAction(WORequest, WOContext) line: 141
> WODynamicGroup.invokeChildrenAction(WORequest, WOContext) line: 105
> WODynamicGroup.invokeAction(WORequest, WOContext) line: 115
> Main(WOComponent).invokeAction(WORequest, WOContext) line: 1079
> Session(WOSession).invokeAction(WORequest, WOContext) line: 1357
> Application(WOApplication).invokeAction(WORequest, WOContext) line: 1745
> WOComponentRequestHandler._dispatchWithPreparedPage(WOComponent,
> WOSession, WOContext, NSDictionary) line: 206
> WOComponentRequestHandler._dispatchWithPreparedSession(WOSession,
> WOContext, NSDictionary) line: 298
> WOComponentRequestHandler._dispatchWithPreparedApplication(WOApplication,
> WOContext, NSDictionary) line: 332
> WOComponentRequestHandler._handleRequest(WORequest) line: 369
> WOComponentRequestHandler.handleRequest(WORequest) line: 442
> Application(WOApplication).dispatchRequest(WORequest) line: 1687
> WOWorkerThread.runOnce() line: 144
> WOWorkerThread.run() line: 226
> Thread.run() line: 637
> ...
> "
> Michael.
>
> On Thu, Dec 10, 2009 at 6:15 PM, Andrew Lindesay <email@hidden> wrote:
>> HI Michael;
>>
>> It is the stuff under "java.lang.NullPointerException" which is interesting because it will tell us _where_ the problem arose –– can you re-post your full stack trace please?
>>
>> cheers.
>>
>>> I'm trying to use the Postgresql with WO.
>>> The application itself is a simple test. Actually, I'm opened the
>>> 'WebOBjects Tutorial' - the one, which is building the application
>>
>> ___
>> Andrew Lindesay
>> www.lindesay.co.nz
>>
>>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden