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.
Summary: | IllegalArgumentException: The input text cannot contain carriage return char \r | ||
---|---|---|---|
Product: | web | Reporter: | vidhyadharantechdays <vidhyadharantechdays> |
Component: | AngularJS | Assignee: | Petr Pisl <ppisl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | pjiricka, ppisl, vriha |
Priority: | P2 | Keywords: | 8.0_HR_FIX |
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
html file with carriage return
log file My webapp |
Created attachment 145430 [details]
log file
Hi, just now i updated latest development kit. This issue is killing me. Each and every time i am getting exception popup Regards, vidhya Could you perhaps try to zip the project and attach it here as zip archive? If I download the file, IDE shows error hint on line 21 ("Expected } but found EOL") - I think it is reported already, but no exception is thrown. If I display new line characters in attached file, it shows LF only. Even if I convert new lines to CRLF, then the false error hint goes away and again, no exception Product Version: NetBeans IDE 8.0 RC1 (Build 201402202300) Java: 1.7.0_11; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21 System: Windows 7 version 6.1 running on x86; GBK; en_US (nb) Created attachment 145484 [details]
My webapp
Hi ,
I have attached the entire webapp. I am getting exception each and every time.
Please provide some solution.
Thanks,
Vidhya
please find this file in the attached webapp "\webapp\html\api_details.html" Thank you for the sample, reproducible on Linux as well. Product Version: NetBeans IDE 8.0 RC1 (Build 201402202300) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb) *** Bug 242274 has been marked as a duplicate of this bug. *** I don't think this is a stopper for RC1, but I think it should be fixed for FCS. This IAE pops out on file opening/modification. I cannot reproduce it in 7.4. The problem is in the org.netbeans.modules.html.angular.model.AngularWhenInterceptor, where is readed in some cases the content of a file directly in certain circumstances. Fixed in web-main:http://hg.netbeans.org/web-main/rev/6e84eb1e7ea0 Integrated into 'main-silver', will be available in build *201402250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6e84eb1e7ea0 User: Petr Pisl <ppisl@netbeans.org> Log: #242137 - IllegalArgumentException: The input text cannot contain carriage return char \r Transplanted to the releases / release80 Verified in trunk. Thank you Product Version: NetBeans IDE Dev (Build 201402250001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb) Integrated into 'releases/release80', will be available in build *201403022200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/95fdbc761787 User: Petr Pisl <ppisl@netbeans.org> Log: #242137 - IllegalArgumentException: The input text cannot contain carriage return char \r Hi, Thanks for the fix, I have verified in Product Version: NetBeans IDE Dev (Build 201403020001) Regards, Vidhya Verified in 8.0 build Product Version: NetBeans IDE 8.0 (Build 201403022200) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb) |
Created attachment 145429 [details] html file with carriage return Getting exception while opening this file (find the attached html file)