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 221154

Summary: org.netbeans.modules.java.source.save.CasualDiff]: Illegal values: from = 570; to = -1
Product: java Reporter: Jiri Skrivanek <jskrivanek>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: VERIFIED WONTFIX    
Severity: normal CC: mmirilovic
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log.
IDE log.

Description Jiri Skrivanek 2012-10-31 09:57:32 UTC
Created attachment 126835 [details]
IDE log.

Messages from org.netbeans.modules.java.source.save.CasualDiff are printed to IDE log when creating RESTful web services.

To reproduce:
- create web project with GlassFish server
- open new file wizard
- choose "Web Services|RESTful Web Services from Patterns" and click Next
- click Next, provide package name and click Finish
- several messages is printed to IDE log
org.netbeans.modules.java.source.save.CasualDiff]: Illegal values: from = 570; to = -1
- if not create another web service but it happens always when creating some RESTful web services

Product Version: NetBeans IDE Dev (Build 201210310001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Quality Engineering 2012-11-06 03:10:44 UTC
Integrated into 'main-golden', will be available in build *201211060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/693769fdf0b5
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #221154: org.netbeans.modules.java.source.save.CasualDiff]: Illegal values: from = 570; to = -1
Comment 2 Jiri Skrivanek 2012-11-08 09:39:42 UTC
It happens again with little bit different scenario:

- create web project with GlassFish server
- open new file wizard
- choose "Web Services|RESTful Web Services from Patterns" and click Next
- select "Client-Controlled Container-Item" and click Next
- provide package name and click Finish
- several messages is printed to IDE log
INFO [org.netbeans.modules.java.source.save.CasualDiff]: Illegal values: from = 571; to = 570.
Comment 3 Jiri Skrivanek 2012-11-08 09:40:21 UTC
Created attachment 127371 [details]
IDE log.
Comment 4 Jan Lahoda 2013-02-26 16:22:03 UTC
Unless there is a usecase visible to users (i.e. a case where the codegen would produce broken/incorrect code), won't fix.
Comment 5 Jiri Skrivanek 2013-02-27 08:04:55 UTC
OK, last test case is not reproducible in latest dev build.