This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 187023 - Failed C/V tests. testInstantiateAllInstances and testNoWrites
Summary: Failed C/V tests. testInstantiateAllInstances and testNoWrites
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Petr Suchomel
URL:
Keywords: TEST
: 190692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-01 10:21 UTC by Ivan Sidorkin
Modified: 2010-11-29 16:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2010-06-01 10:21:23 UTC
ValidateLayerConsistencyTest.testInstantiateAllInstances 
and 
GeneralSanityTest.testNoWrites 

tests failed for RC2

junit.framework.AssertionFailedError: Some instances cannot be created
File Editors/text/x-java/AnnotationProcessors/org-netbeans-modules-javacard-source-JavaCardErrorProcessor.instance
Read from: [jar:file:/C:/space/hudson/workspace/CV69rc2/jdk/jdk1.6/label/WinXP-4/netbeans/javacard/modules/org-netbeans-modules-javacard-project.jar!/org/netbeans/modules/javacard/layer.xml]
threw: java.lang.ClassNotFoundException: java.lang.NoClassDefFoundError: com/sun/source/util/AbstractTypeProcessor while loading org.netbeans.modules.javacard.sourceorg.netbeans.modules.javacard.source.JavaCardErrorProcessor;
Comment 1 Petr Suchomel 2010-06-04 08:39:10 UTC
Ivan,
Where and from which repository these tests run?
Comment 2 Ivan Sidorkin 2010-06-30 21:46:44 UTC
still reproducible on 6.9.1 (both tests) and trunk (only testNoWrites)
reproduced on Windows
Comment 3 Petr Suchomel 2010-10-08 12:05:52 UTC
*** Bug 190692 has been marked as a duplicate of this bug. ***
Comment 4 Petr Suchomel 2010-11-11 13:17:56 UTC
What I will need is to move installation of JavaCard runtime (descriptors etc.) into installer so far there is not unzipping the binaries and creation of descriptors for the first time, module is loaded. This is a very similar approach which is being used in Mobility (either for JavaME SDK or J2ME WTK). This is outside of Beta feasible fix, but can be done easily for Beta 2 I expect.
Comment 5 Petr Suchomel 2010-11-29 16:12:05 UTC
fixed in http://hg.netbeans.org/main/rev/205316e3a23b