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 76081 - Got a class not found Exception with java/lang/Strhng
Summary: Got a class not found Exception with java/lang/Strhng
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 08:37 UTC by ehsavoie
Modified: 2008-02-25 16:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (23.98 KB, text/plain)
2006-05-09 14:07 UTC, Pavel Flaska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsavoie 2006-05-09 08:37:51 UTC
I get the following exception :

java.lang.NoClassDefFoundError: java/lang/Strhng
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.createMDRParser(ResourceImpl.java:562)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:653)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDate(ResourceImpl.java:587)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getClassifiers(ResourceImpl.java:165)
	at org.netbeans.jmi.javamodel.Resource$Impl.getClassifiers(Unknown Source)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.getAllClassesDefinedInResource(JEEVerificationAnnotationProvider.java:276)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.processDocument(JEEVerificationAnnotationProvider.java:166)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.access$100(JEEVerificationAnnotationProvider.java:63)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider$MDRListener$1.run(JEEVerificationAnnotationProvider.java:319)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)

Looks like a typo error in some reflection code or in some configuration file.
Build is 200605030500
Comment 1 Pavel Flaska 2006-05-09 09:57:20 UTC
There is no reflection code in ResourceImpl.java. Please, attach the whole
message.log and try to describe what did you do in NetBeans. Reassigning to j2ee
to further evalution.
Comment 2 Pavel Flaska 2006-05-09 14:04:50 UTC
ehsavoie <emmanuel.hugonnet@gmail.com>:

I've attached the log file. It happened just as I launched NetBeans on a simple
Java Aplication with no J2EE or JPA.
I've have JPA configured in librairies with Toplink from my Glassfish, Hibernate
and TopLink as a module for another project that was currently closed. 


Comment 3 Pavel Flaska 2006-05-09 14:07:37 UTC
Created attachment 30306 [details]
Log
Comment 4 Pavel Flaska 2006-05-09 14:11:35 UTC
It does not seem connected to j2ee, reassigning back to java.
Comment 5 Quality Engineering 2007-09-20 09:56:21 UTC
Reorganization of java component
Comment 6 Jan Becicka 2008-02-25 16:17:38 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.