"Despite what the error message says and what product management’s comments here indicate, filing a case with support is generally not encouraged or supported.
Support will close your ticket and either tell you to post this on the idea exchange or state that this requires developer support to be worked. Sales has confirmed this is the case for any internal server errors that come from either apex or visual force code.
It is sad that salesforce (support and sales anyway) wants you to purchase developer support to give them an example of a bug in their code." https://success.salesforce.com/ideaView?id=08730000000JKDp