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 151595 - [65cat] IllegalArgumentException: The propertyName parameter ('<error>') is not a valid Java identifier
Summary: [65cat] IllegalArgumentException: The propertyName parameter ('<error>') is n...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@javaee
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-28 14:41 UTC by rajivderas
Modified: 2016-07-07 08:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 133505


Attachments
stacktrace (1.08 KB, text/plain)
2008-10-28 14:41 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-10-28 14:41:29 UTC
Build: NetBeans IDE Dev (Build 200810280201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.IllegalArgumentException: The propertyName parameter ('<error>') is not a valid Java identifier
        at org.openide.util.Parameters.javaIdentifierOrNull(Parameters.java:151)
        at org.openide.util.Parameters.javaIdentifier(Parameters.java:137)
        at org.netbeans.modules.jee.core.api.support.java.GenerationUtils.createPropertyGetterMethod(GenerationUtils.java:543)
        at org.netbeans.modules.jee.jpa.verification.fixes.CreateId$.run(CreateId.java:209)
        at org.netbeans.modules.jee.jpa.verification.fixes.CreateId$.run(CreateId.java:164)
        at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:953)
Comment 1 rajivderas 2008-10-28 14:41:34 UTC
Created attachment 72770 [details]
stacktrace
Comment 2 Lukas Hasik 2008-10-29 12:42:26 UTC
I'm not sure wehre it belongs...
Comment 3 _ gowri 2008-11-18 23:14:20 UTC
Please send the steps to reproduce the bug.
Comment 4 _ jyothivasa 2008-11-20 23:37:54 UTC
May be a duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=148553.
Need further steps to verify.
Comment 5 Martin Fousek 2008-12-08 07:43:15 UTC
Thank you for report! We are not able to reproduce the described problem. 
Informations you've provided aren't enough to fix the issue. You haven't added comment with steps to reproduce/system
info/messages.log to the issue as requested. 
We are closing as worksforme for now. Please, add requested informations and reopen it if you are still able to
reproduce this issue.
Thanks in advance.
Comment 6 Jindrich Sedek 2009-04-21 15:23:53 UTC
Here are steps to reproduce from reporters e-mail to netcat mailinglist:

> 1) create ejb 3 project and create new entity class 
> 2) in the entity class remove the '@' char from the @Id annotation
> 3) the editor will hint create entity id 
> 4) accept the hint and the create entity dialog will appear and select use existing and the combo field will have a
item named <error> selected by default and press ok and you will get this exception.
> java.lang.IllegalArgumentException: The propertyName parameter 
> ('<error>') is not a valid Java identifier

problem is cause by broken source
Comment 7 Martin Balin 2016-07-07 08:55:52 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss