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.
Summary: | AVK report was not created. IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only | ||
---|---|---|---|
Product: | serverplugins | Reporter: | ea118769 <ea118769> |
Component: | AVK | Assignee: | _ bhavanishankar <bhavanishankar> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | sahoo |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | Sun | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ea118769
2006-07-15 01:16:54 UTC
I want to add: 1) I was able to reproduce this issue with webapps-caching sample on two machines: W2K and Linux 4.0. 2) I created AVK repors for other samples: carstore, guessNumber, jdbc-simple and for these samples everything was OK. 3) I tried webapps-caching sample during previous testing cycle, and I did not see any problems with the AVK report for this sample. Hi Elena, I installed NB5.5beta2, AS9 PEb48, AVK plugin from Update center and I was able to verify webapps-caching successfully. The report lists the following servlet components: samples.webapps.caching.ServCache /ServCache.jsp /JSPCache.jsp As I said earlier java.lang.IllegalStateException can be ignored. These exeptions have no impact the plug-in functionality. But, your report also shows a java.lang.NullPointerException. This exception could be the cause for the issue. I suspect that the NPE could be due to pre-existing AVK configuration in your application server. So, follow the below steps to clean up AVK from the AppServer and try doing 'Verify Project > Do Dynamic Verification' again. 1) Login to appserver admin console. 2) Remove app-verification management rule (Configuration > Management Rules > app-verification). 3) Remove AppVerification MBean (Custome MBeans > AppVerification). 4) Remove $AS_INSTALL_DIR/lib/javke.jar Please note that you don't need to run 'Deploy Project' before running 'Do Dynamic Verification', because the AVK plug-in takes care of deploying the project as part of the verification proces. Thanks, Bhavani. This issue is due to a typo in getDeployDirFromDomainXml(Project project) method of CommonNodeAction.java. ${com.sun.aas.installRoot} was mispelt as ${com.sun.aas.installeRoot}. Thanks, Bhavani. This is fixed in both netbeans55 and netbeans55_beta2 branch. |