[UIMA-3776] fix failing test cases which get a NPE trying to get the class info from the Java Bean when the only getter is an array getter (shows up in CPE tests)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1590115 13f79535-47bb-0310-9956-ffa450edef68