Hi Roger,
sorry for the troubles.
I spoke to the dev team that works on Web Services API and so far we did not identify recent changes that would cause this exception. Unfortunately I cannot replicate it against my subscription data.
1. Please try the same simple java application that I tested to query on PortofilioItems.I used the same query and the same fetch statement(minus the custom field c_SDP) following your code fragment. I woudl like that we start with the identical code available in this github repo (
https://github.com/nmusaelian-rally/rally-java-rest-apps/blob/master/GetPI.java).
Please change the authentication part. Currently I have this line:
String apiKey = "_abc123";
that you may replace with either username/password or API Key valid for your user account.
Please replace workspace OID:
String workspaceRef = "/workspace/12345";
No other changes are necessary to run this code against your data.
Does it work?
2a. If it works, please add the custom field c_SDP to the fetch statement.
2b. If it does not work, please modity the code to fetch only ObjectID:
portfolioRequest.setFetch(new Fetch("ObjectID"));
and modify the query to use FormattedID:
portfolioRequest.setQueryFilter(new QueryFilter("FormattedID", "=", "F123"));
Does that work?
3. I am using Java 1.7 and the following versions of jars:

What is different in your environment?
Thank you.