Alpha35: Empty event expression produce cryptic error
See original GitHub issueRelated: #3664 (should be fixed together)
I have a template with the following element:
<input type="file" id="picture" accept="image/*"
(change)="onFileSelected(f, $event)"
(fileread)>
On alpha 33 it worked great. On alpha35 it produces the following runtime error:
EXCEPTION: TypeError: Cannot set property 'lastInBinding' of undefined
angular2.js:13030 STACKTRACE:
angular2.js:13030 TypeError: Cannot set property 'lastInBinding' of undefined
at Function.execute._ConvertAstIntoProtoRecords.create (http://localhost:5555/lib/angular2.js:18104:47)
at http://localhost:5555/lib/angular2.js:17730:49
at Array.map (native)
at createEventRecords (http://localhost:5555/lib/angular2.js:17729:36)
at JitProtoChangeDetector.execute.JitProtoChangeDetector._createFactory (http://localhost:5555/lib/angular2.js:17575:39)
at new JitProtoChangeDetector (http://localhost:5555/lib/angular2.js:17567:32)
at $__1.execute.JitChangeDetection.createProtoChangeDetector (http://localhost:5555/lib/angular2.js:10323:20)
at http://localhost:5555/lib/angular2.js:15553:42
at Array.map (native)
at Function.execute.ListWrapper.map (http://localhost:5555/lib/angular2.js:6374:26)
The following modification still produces the error:
<input type="file" id="picture" accept="image/*"
(change)="onFileSelected(f, $event)"
(fileread)="">
This one works
<input type="file" id="picture" accept="image/*"
(change)="onFileSelected(f, $event)"
(fileread)="x">
Issue Analytics
- State:
- Created 8 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Cryptic error messages, SSDD | Apple Developer Forums
I just spent all day migrating my 30,000-line Swift project to 2.0 and was rewarded with this lone error. Any clue what it...
Read more >EventReader error with empty Filter - IBM
An error message is produced in the netcool.log by running an EventReader configured with a blank Filter, the associated Policy still runs ...
Read more >TIBCO ® Data Migrator
TIBCO Data Migrator, formerly ETL Manager, represents a broad category of tools designed to facilitate and automate the extraction and integration of data ......
Read more >On Compiler Error Messages: What They Say and ... - Hindawi
Programmers often encounter cryptic compiler error messages that are difficult to understand and thus difficult to resolve.
Read more >Form.Error event (Access) - Microsoft Learn
The Error event occurs when a run-time error is produced in Microsoft Access when a form has the focus. Syntax. expression.Error (DataErr, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This error is still occuring in RC1 when using something like
<a (click)></a>)
.(Forgot to add handler to an anchor element and Chrome spit this out)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.