-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Exception while encoding/writing view using pooled buffer #3252
Comments
Can you provide some more details? What platform is this on? What's your controller/view code look like? |
this is my view.cshtml [http://textuploader.com/av9vf] When i removed section slider working correct. |
I understand problem. If i have utf8 encoded text in @section script { } than exception. |
Working on a fix for this now - there are two issues here: Dispose method needs to always dispose the buffers, even if flush fails We were computing the usable size of the char buffer incorrectly. |
@rynowak thank you for reply. I'm working on this error 10 hour and i didn't fix this problem. |
If you need to have stable builds you shouldn't by using our CI packages, stick to the latest release without a build number in it (right now 'beta7') Using the latest packages means that you're going to be exposed to a lot of churn and unfortunately, sometimes breaks like this.. This will be checked in sometime this morning, and packages available when they are available. |
Yes i m using 6.0.0-*. I must change it t beta7? |
beta7 is stable so yes, beta8 will be stable soon. |
- Dispose buffers when Flush throws inside the Dispose method - Compute size of buffers correctly - Throw earlier when handed invalid-sized buffers
Error: |
@rynowak Its same problem not fixed. I used dnu restore but same problem |
The package for this won't be available until it has time to propagate through our CI. |
@rynowak thank you for help. How many time does it need? |
This should be available now with version: |
on running controller /home/index showing this error
Error 2
The text was updated successfully, but these errors were encountered: