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 190388 - IllegalArgumentException: Cannot create a QualIdent for javax.validation.constraints.NotNull
Summary: IllegalArgumentException: Cannot create a QualIdent for javax.validation.cons...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 10:20 UTC by Sergey Petrov
Modified: 2013-11-27 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172578


Attachments
stacktrace (4.15 KB, text/plain)
2010-09-16 10:20 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2010-09-16 10:20:20 UTC
This issue was reported manually by sj-nb.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 100916-5e8269ea85f3)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
sj-nb: tried to generate entity from db in j2se




Stacktrace: 
java.lang.IllegalArgumentException: Cannot create a QualIdent for javax.validation.constraints.NotNull
   at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createQualIdent(GenerationUtils.java:737)
   at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:273)
   at org.netbeans.modules.j2ee.core.api.support.java.GenerationUtils.createAnnotation(GenerationUtils.java:257)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$ClassGenerator.createProperty(JavaPersistenceGenerator.java:641)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$EntityClassGenerator.generateMember(JavaPersistenceGenerator.java:1197)
   at org.netbeans.modules.j2ee.persistence.wizard.fromdb.JavaPersistenceGenerator$Generator$ClassGenerator.run(JavaPersistenceGenerator.java:785)
Comment 1 Sergey Petrov 2010-09-16 10:20:24 UTC
Created attachment 102043 [details]
stacktrace
Comment 2 Sergey Petrov 2010-09-16 10:23:35 UTC
block entities creation in j2se
Comment 3 Sergey Petrov 2010-09-16 10:55:24 UTC
http://hg.netbeans.org/web-main/rev/478c29c85169 fixed
Comment 4 Quality Engineering 2010-09-17 03:23:15 UTC
Integrated into 'main-golden', will be available in build *201009170000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/478c29c85169
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: fix #190388 validation support was improperly detected for j2se