ok ...

Joel Wiegman napsal(a):
> Jiri,
> 
> I apologize, I've gotten sidetracked on this.  Since Tapestry 5 is such a 
> moving target right now, the error that appeared to be Cobertura-related went 
> away and was replaced by a different Tapestry-related error.  Right now I'm 
> working around it by just not covering the classes involved when I run 
> Cobertura.
> 
> I'm subscribed to the cobertura-devel list as well.  If it springs up again 
> I'll post to that list.
> 
> Cheers,
> 
> Joel
> 
> -----Original Message-----
> From: Jiri Mares [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 25, 2007 7:09 AM
> To: Tapestry users
> Subject: Re: T5: Cobertura?
> 
> 
> Hi Joel,
> 
> is there any problem with mine request?
> 
> Thanks
> 
> Jiri Mares napsal(a):
>> Hi Joel,
>>
>>
>> yes, the best way would be send me (can be directly to email) the 
>> source file, class file, instrumented class file by tapestry, instrumented 
>> file by cobertura and instrumented file by cobertura & tapestry, if it is 
>> possible.
>>
>> And of course keep it as simple as possible.
>>
>> Thanks
>>
>> Joel Wiegman napsal(a):
>>> Jiri,
>>>
>>> I know one of the Cobertura problems involved here is related to this bug:
>>>
>>> http://jira.codehaus.org/browse/MCOBERTURA-57
>>>
>>> Obviously, this is not Cobertura but the Cobertura plug-in that Maven uses. 
>>>  The other appears to be an instrumentation issue which I will let you and 
>>> Howard work out.  If you need a sample class file please let me know and I 
>>> can provide one to you (both).
>>>
>>> Cheers!
>>>
>>> Joel
>>>
>>> -----Original Message-----
>>> From: Jiri Mares [mailto:[EMAIL PROTECTED]
>>> Sent: Monday, May 21, 2007 2:12 AM
>>> To: Tapestry users
>>> Subject: Re: T5: Cobertura?
>>>
>>>
>>> Hi Howard,
>>>
>>> I'm developing cobertura ... can you, please, give more information where 
>>> the problem is to solve it ... or show me the way how to investigate, where 
>>> it is ...
>>>
>>> Thanks
>>>
>>> Jirka
>>>
>>> Howard Lewis Ship napsal(a):
>>>> Sorry if I was inexact; I'm shifting gears too constantly.
>>>>
>>>> On 5/17/07, Joel Wiegman <[EMAIL PROTECTED]> wrote:
>>>>> I think you mean the 1.7 version of Cobertura itself, not the plugin.
>>>>> Version 2.0 of the plugin (which is what I'm using) uses Cobertura 
>>>>> version 1.7.
>>>>>
>>>>> So is this a Tapestry issue or a Cobertura issue (or even a plugin 
>>>>> issue)?  Lots of class instrumentation going on!
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
>>>>> Sent: Thursday, May 17, 2007 12:53 PM
>>>>> To: Tapestry users
>>>>> Subject: Re: T5: Cobertura?
>>>>>
>>>>> It could be the version; I've been sticking to the 1.7 version of 
>>>>> the plugin as 1.8 doesn't work (at least, not for Tapestry apps).
>>>>>
>>>>> On 5/17/07, Joel Wiegman <[EMAIL PROTECTED]> wrote:
>>>>>> Hello all,
>>>>>>
>>>>>> I'm using the Cobertura (via the Maven plug-in) to execute some 
>>>>>> web app coverage tests.  I'm seeing the T5 "PageTester" unit tests 
>>>>>> pass, but the same tests fail during the Cobertura coverage test.
>>>>>> I end up seeing variations of java.lang.VerifyErrors and 
>>>>>> java.lang.ClassFormatErrors (example below).  Not sure if this is 
>>>>>> a Cobertura problem or a Tapestry problem, but I was looking for 
>>>>>> someone to share my grief or possibly even offer a solution.
>>>>>>
>>>>>> Is anyone using Cobertura to test coverage of their Tapestry 5 
>>>>>> "PageTester" unit tests?  If so, would you mind posting the 
>>>>>> pertinent sections of your pom.xml?
>>>>>>
>>>>>> Many thanks!
>>>>>>
>>>>>> Joel
>>>>>>
>>>>>>
>>>>>> Tapestry 5.0.5-SNAPSHOT
>>>>>> JDK 6.0
>>>>>> Maven 2.0.6
>>>>>> Cobertura-Maven-Plugin 2.0
>>>>>>
>>>>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
>>>>>> 0.797 sec <<< FAILURE!
>>>>>> testStoreHierarchy(com.btservices.storeportal.pages.status.TestSta
>>>>>> r
>>>>>> t) Time elapsed: 0.36 sec  <<< FAILURE!
>>>>>> java.lang.VerifyError: (class:
>>>>>> com/btservices/storeportal/pages/status/Start, method: 
>>>>>> determineStatus
>>>>>> signature:
>>>>>> (Lcom/btservices/storeportal/data/StoreStatusCode;)Lorg/apache/tap
>>>>>> e
>>>>>> str
>>>>>> y/
>>>>>> Asset;) Illegal constant pool index
>>>>>>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>>>>>>         at
>>>>>> java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
>>>>>>         at java.lang.Class.getConstructors(Class.java:1459)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.ReflectiveInstantiator.findC
>>>>>> o
>>>>>> nst
>>>>>> ru
>>>>>> ctor(ReflectiveInstantiator.java:65)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.ReflectiveInstantiator.<init
>>>>>> (Re
>>>>>> fl
>>>>>> ectiveInstantiator.java:53)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.InternalClassTransformationImpl.
>>>>>> cr
>>>>>> eateInstantiator(InternalClassTransformationImpl.java:1227)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.ComponentClassTransformerImp
>>>>>> l
>>>>>> .cr
>>>>>> ea
>>>>>> teInstantiator(ComponentClassTransformerImpl.java:151)
>>>>>>         at
>>>>>> $ComponentClassTransformer_1129a4c95be.createInstantiator($Compone
>>>>>> n
>>>>>> tCl
>>>>>> as
>>>>>> sTransformer_1129a4c95be.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.ComponentInstantiatorSourceImpl.
>>>>>> fi
>>>>>> ndInstantiator(ComponentInstantiatorSourceImpl.java:242)
>>>>>>         at
>>>>>> $ComponentInstantiatorSource_1129a4c95ae.findInstantiator($Compone
>>>>>> n
>>>>>> tIn
>>>>>> st
>>>>>> antiatorSource_1129a4c95ae.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PageElementFactoryImpl.newRo
>>>>>> o
>>>>>> tCo
>>>>>> mp
>>>>>> onentElement(PageElementFactoryImpl.java:199)
>>>>>>         at
>>>>>> $PageElementFactory_1129a4c95c1.newRootComponentElement($PageEleme
>>>>>> n
>>>>>> tFa
>>>>>> ct
>>>>>> ory_1129a4c95c1.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PageLoaderProcessor.loadRoot
>>>>>> C
>>>>>> omp
>>>>>> on
>>>>>> ent(PageLoaderProcessor.java:408)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PageLoaderProcessor.loadPage
>>>>>> (
>>>>>> Pag
>>>>>> eL
>>>>>> oaderProcessor.java:393)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(Page
>>>>>> L
>>>>>> oad
>>>>>> er
>>>>>> Impl.java:62)
>>>>>>         at
>>>>>> $PageLoader_1129a4c95bf.loadPage($PageLoader_1129a4c95bf.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PagePoolImpl.checkout(PagePo
>>>>>> o
>>>>>> lIm
>>>>>> pl
>>>>>> .java:63)
>>>>>>         at $PagePool_1129a4c95b5.checkout($PagePool_1129a4c95b5.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.RequestPageCacheImpl.getByCl
>>>>>> a
>>>>>> ssN
>>>>>> am
>>>>>> e(RequestPageCacheImpl.java:58)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.RequestPageCacheImpl.get(Req
>>>>>> u
>>>>>> est
>>>>>> Pa
>>>>>> geCacheImpl.java:49)
>>>>>>         at
>>>>>> $RequestPageCache_1129a4c95ad.get($RequestPageCache_1129a4c95ad.java)
>>>>>>         at
>>>>>> $RequestPageCache_1129a4c95ac.get($RequestPageCache_1129a4c95ac.java)
>>>>>>         at
>>>>>> org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(P
>>>>>> a
>>>>>> geL
>>>>>> in
>>>>>> kHandlerImpl.java:57)
>>>>>>         at
>>>>>> $PageLinkHandler_1129a4c95a3.handle($PageLinkHandler_1129a4c95a3.java)
>>>>>>         at
>>>>>> org.apache.tapestry.test.pagelevel.PageLinkInvoker.invoke(PageLink
>>>>>> I
>>>>>> nvo
>>>>>> ke
>>>>>> r.java:61)
>>>>>>         at
>>>>>> org.apache.tapestry.test.pagelevel.PageTester.invoke(PageTester.ja
>>>>>> v
>>>>>> a:2
>>>>>> 14
>>>>>> )
>>>>>>         at
>>>>>> org.apache.tapestry.test.pagelevel.PageTester.renderPage(PageTeste
>>>>>> r
>>>>>> .ja
>>>>>> va
>>>>>> :182)
>>>>>>         at
>>>>>> com.btservices.storeportal.pages.status.TestStart.testStoreHierarc
>>>>>> h
>>>>>> y(T
>>>>>> es
>>>>>> tStart.java:112)
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------
>>>>>> -
>>>>>> -- To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>> --
>>>>> Howard M. Lewis Ship
>>>>> TWD Consulting, Inc.
>>>>> Independent J2EE / Open-Source Java Consultant Creator and PMC 
>>>>> Chair, Apache Tapestry Creator, Apache HiveMind
>>>>>
>>>>> Professional Tapestry training, mentoring, support and project work.
>>>>> http://howardlewisship.com
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> -- To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>> --
>>> Jiří Mareš (mailto:[EMAIL PROTECTED]) ČSAD SVT Praha, s.r.o. 
>>> (http://www.svt.cz) Czech Republic
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
> 
> --
> Jiří Mareš (mailto:[EMAIL PROTECTED])
> ČSAD SVT Praha, s.r.o. (http://www.svt.cz) Czech Republic
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Jiří Mareš (mailto:[EMAIL PROTECTED])
ČSAD SVT Praha, s.r.o. (http://www.svt.cz)
Czech Republic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to