[tuigwaa-user:516] Re: フィルタで「OR+含む」がダメ
hogehogeo
[E-MAIL ADDRESS DELETED]
2009年 7月 29日 (水) 01:17:34 JST
染田様
伊藤です。
回避方法、ありがとうございました。
並べ替えできないのは、ちょっと痛いですね。
Takashi Someda さんは書きました:
> 染田です。
>
> 連絡ありがとうございました。
> こちらでも再現しました。
>
> 原因としては「いずれかの条件に一致」と
> 結果を「並べ替える」の組み合わせで発生しました。
>
> 回避策としては、「いずれかの条件に一致」を
> 利用する際には並べ替え指定をしないように
> して頂けますでしょうか。
>
> 以上、よろしくお願い致します。
>
> 2009/07/28 12:54 に hogehogeo<[E-MAIL ADDRESS DELETED]> さんは書きました:
>> 染田様
>>
>> 伊藤です。
>> お世話になっております。
>>
>> 型は文字列です。
>>
>> ログというのはコンソールに出力されるものでしょうか?
>>
>> よろしくお願いします。
>>
>> -tomcatの起動から--
>> 情報: Coyote HTTP/1.1を http-8080 で起動します
>> 2009/07/28 12:38:06 org.apache.jk.common.ChannelSocket init
>> 情報: JK: ajp13 listening on /0.0.0.0:8009
>> 2009/07/28 12:38:06 org.apache.jk.server.JkMain start
>> 情報: Jk running ID=0 time=0/861 config=null
>> 2009/07/28 12:38:06 org.apache.catalina.storeconfig.StoreLoader load
>> 情報: Find registry server-registry.xml at classpath resource
>> 2009/07/28 12:38:07 org.apache.catalina.startup.Catalina start
>> 情報: Server startup in 298910 ms
>> 2009/07/28 12:40:12 com.metaparadigm.jsonrpc.JSONRPCBridge
>> registerLocalArgResol
>> ver
>> 情報: registered local arg resolver
>> com.metaparadigm.jsonrpc.HttpServletRequestA
>> rgResolver for local class javax.servlet.http.HttpServletRequest with
>> context ja
>> vax.servlet.http.HttpServletRequest
>> 2009/07/28 12:40:12 com.metaparadigm.jsonrpc.JSONRPCBridge
>> registerLocalArgResol
>> ver
>> 情報: registered local arg resolver
>> com.metaparadigm.jsonrpc.HttpSessionArgResol
>> ver for local class javax.servlet.http.HttpSession with context
>> javax.servlet.ht
>> tp.HttpServletRequest
>> 2009/07/28 12:40:12 com.metaparadigm.jsonrpc.JSONRPCBridge
>> registerLocalArgResol
>> ver
>> 情報: registered local arg resolver
>> com.metaparadigm.jsonrpc.JSONRPCBridgeServle
>> tArgResolver for local class com.metaparadigm.jsonrpc.JSONRPCBridge with
>> context
>> javax.servlet.http.HttpServletRequest
>> 2009/07/28 12:40:15 com.metaparadigm.jsonrpc.JSONRPCBridge analyzeClass
>> 情報: analyzing org.seasar.tuigwaa.controller.EntityForm
>> 2009/07/28 12:42:31 com.metaparadigm.jsonrpc.JSONRPCBridge analyzeClass
>> 情報: analyzing org.seasar.tuigwaa.controller.DataFilterForm
>> java.lang.NullPointerException
>> at
>> org.seasar.tuigwaa.database.function.criteria.HibernateCriteria.addOr
>> der(HibernateCriteria.java:224)
>> at
>> org.seasar.tuigwaa.database.function.criteria.OrderCriteriaFunction.e
>> valuate(OrderCriteriaFunction.java:63)
>> at
>> org.seasar.tuigwaa.database.function.criteria.OrderCriteriaFunction.e
>> valuate(OrderCriteriaFunction.java:59)
>> at
>> org.seasar.tuigwaa.database.function.criteria.CriteriaListFunction.ev
>> aluate(CriteriaListFunction.java:132)
>> at
>> org.seasar.tuigwaa.database.function.criteria.CriteriaListFunction.ev
>> aluate(CriteriaListFunction.java:132)
>> at
>> org.seasar.tuigwaa.database.function.CriteriaExeFunction.evaluate(Cri
>> teriaExeFunction.java:129)
>> at
>> org.seasar.tuigwaa.database.function.CriteriaExeFunction$$EnhancedByS
>> 2AOP$$1b22d99.evaluate$$invokeSuperMethod$$(CriteriaExeFunction$$EnhancedByS2AOP
>> $$1b22d99.java)
>> at
>> org.seasar.tuigwaa.database.function.CriteriaExeFunction$$EnhancedByS
>> 2AOP$$1b22d99$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerato
>> r.java)
>> at
>> org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredIntercepto
>> r.java:40)
>> at
>> org.seasar.tuigwaa.database.function.CriteriaExeFunction$$EnhancedByS
>> 2AOP$$1b22d99$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerato
>> r.java)
>> at
>> org.seasar.tuigwaa.database.function.CriteriaExeFunction$$EnhancedByS
>> 2AOP$$1b22d99.evaluate(CriteriaExeFunction$$EnhancedByS2AOP$$1b22d99.java)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl.doFind(DataServiceImpl.java:
>> 240)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl.find(DataServiceImpl.java:11
>> 6)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$c8ccb1.fin
>> d$$invokeSuperMethod$$(DataServiceImpl$$EnhancedByS2AOP$$c8ccb1.java)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$c8ccb1$$Me
>> thodInvocation$$find2.proceed(MethodInvocationClassGenerator.java)
>> at
>> org.seasar.tuigwaa.logic.aop.MethodDecorateInterceptorImpl.invoke(Met
>> hodDecorateInterceptorImpl.java:40)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$c8ccb1$$Me
>> thodInvocation$$find2.proceed(MethodInvocationClassGenerator.java)
>> at
>> org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$c8ccb1.fin
>> d(DataServiceImpl$$EnhancedByS2AOP$$c8ccb1.java)
>> at
>> org.seasar.tuigwaa.controller.DatabaseAction.doFindTable(DatabaseActi
>> on.java:378)
>> at
>> org.seasar.tuigwaa.controller.DatabaseAction.doFind(DatabaseAction.ja
>> va:348)
>> at
>> org.seasar.tuigwaa.controller.DatabaseAction.listRecord(DatabaseActio
>> n.java:95)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
>> n.java:270)
>> at
>> org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:
>> 187)
>> at
>> org.apache.struts.actions.MappingDispatchAction.execute(MappingDispat
>> chAction.java:169)
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
>> tProcessor.java:431)
>> at
>> org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerf
>> orm(S2TilesRequestProcessor.java:122)
>> at
>> org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:12
>> 6)
>> at
>> org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRe
>> questProcessor.java:61)
>> at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
>> 6)
>> at
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:252)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:82)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter
>> .java:80)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.j
>> ava:114)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:
>> 45)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2Co
>> ntainerFilter.java:60)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> icationFilterChain.java:202)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterChain.java:173)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.java:213)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> alve.java:178)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>> torBase.java:432)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> ava:126)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> ava:105)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> ve.java:107)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>> a:148)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>> :869)
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
>> rocessConnection(Http11BaseProtocol.java:664)
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>> int.java:527)
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
>> lowerWorkerThread.java:80)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>> ool.java:684)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>> Takashi Someda さんは書きました:
>>> 染田です。
>>>
>>> 私の手元の 1.0.5 では、
>>>
>>> 文字列型のカラムに対して
>>> 「いずれかの条件に一致」「が次を含む」の組み合わせ
>>>
>>> で問題なく動いているのですが、指定しているカラムの
>>> データの型を確認頂けないでしょうか?
>>> また、もし何かエラーログなど出ていましたら可能な範囲で
>>> 送付頂けますと幸いです。
>>>
>>> 以上、よろしくお願い致します。
>>>
>>> 2009/07/27 16:10 に <[E-MAIL ADDRESS DELETED]> さんは書きました:
>>>> 伊藤です。
>>>> お世話になっております。
>>>>
>>>> フィルタに関して質問がございます。
>>>>
>>>> 「いずれかの条件に一致」「が次を含む」の組み合わせだと
>>>> エラーとなってしまうのですが、回避方法はないでしょうか?
>>>> _______________________________________________
>>>> tuigwaa-user mailing list
>>>> [E-MAIL ADDRESS DELETED]
>>>> https://ml.seasar.org/mailman/listinfo/tuigwaa-user
>>>>
>>>
>>>
>> _______________________________________________
>> tuigwaa-user mailing list
>> [E-MAIL ADDRESS DELETED]
>> https://ml.seasar.org/mailman/listinfo/tuigwaa-user
>>
>
>
>
tuigwaa-user メーリングリストの案内