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 224188

Summary: JDWP Error: 21 + JavaME
Product: debugger Reporter: stephen.murby
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 7.2.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description stephen.murby 2012-12-24 02:10:37 UTC
InternalException: Unexpected JDWP Error: 21

This error is thrown at the line

HttpConnection conn = (HttpConnection) Connector.open(strDefURL + strBloggersURL);

I have been trying to debug an issue with XML, but the root cause is this. The peculiarity is that I use this connection to parse the HTML / XML into a string which is being filled.

Thanks (PS. I could not find a completed ticket for this error code)
Comment 1 Martin Entlicher 2013-01-02 15:03:48 UTC
In order to resolve problems with thrown exceptions, it's necessary to have the whole stack trace of the exception.

However, this exception is thrown from JDK and can hardly be fixed in Netbeans.
Error 21 means "Invalid class". If it's reproducible, please submit a defect for JDK or provide exact steps to reproduce here. Thanks.