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 150440 - IllegalArgumentException: DocumentSubmission/{operation}
Summary: IllegalArgumentException: DocumentSubmission/{operation}
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ayub Khan
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 21:25 UTC by bwf93
Modified: 2009-02-19 23:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 79393


Attachments
stacktrace (2.65 KB, text/plain)
2008-10-16 21:25 UTC, bwf93
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bwf93 2008-10-16 21:25:28 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
rdelaplante: Tried to generate JPA entity from a database table in SQL server. It let me get to the last step of the wizard then threw an exception



Stacktrace: 
java.lang.IllegalArgumentException: DocumentSubmission/{operation}
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:221)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:203)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:202)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:206)
        at org.openide.loaders.FileEntry$Format.createFromTemplate(FileEntry.java:230)
Comment 1 bwf93 2008-10-16 21:25:36 UTC
Created attachment 72036 [details]
stacktrace
Comment 2 Ayub Khan 2008-12-05 00:01:55 UTC
Looking at the stacktrace 72036, it looks like the step involves creating Client stubs from a project. In this case the
exception was happening due to Resource path with value "DocumentSubmission/{operation}", creating client stub with
special name causes the exception. This has been fixed in NB6.5. Please try the scenario using NB6.5. If this issue
still occurs please attach the project you were using.