Program: 79712
Project: 79712
Buggy source:
@Override public void addRoutes(RestRouter rootRouter,RestRouter realmRouter){
  realmRouter.route("String_Node_Str").auditAs(DASHBOARD).toCollection(DashboardResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptRead()).auditAs(SERVER_INFO).forVersion(1,1).toCollection(ServerInfoResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptActions("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")).auditAs(USERS).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(GROUPS).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(POLICY_AGENT).authorizeWith(ResourceOwnerOrSuperUserAuthzModule.class).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(DEVICES).toCollection(TrustedDevicesResource.class);
  realmRouter.route("String_Node_Str").auditAs(DEVICES).authorizeWith(ResourceOwnerOrSuperUserAuthzModule.class).toCollection(OathDevicesResource.class);
  realmRouter.route("String_Node_Str").auditAs(BATCH).authorizeWith(AdminOnlyAuthzModule.class).toCollection(BatchResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptActions("String_Node_Str")).auditAs(SESSION).authorizeWith(SessionResourceAuthzModule.class).forVersion(1,1).toCollection(SessionResource.class);
  rootRouter.route("String_Node_Str").auditAs(CTS).authorizeWith(CoreTokenResourceAuthzModule.class).toCollection(CoreTokenResource.class);
  rootRouter.route(RecordConstants.RECORD_REST_ENDPOINT).auditAs(RECORD).authorizeWith(AdminOnlyAuthzModule.class).toCollection(RecordResource.class);
}

Fixed version (ground truth):
@Override public void addRoutes(RestRouter rootRouter,RestRouter realmRouter){
  realmRouter.route("String_Node_Str").auditAs(DASHBOARD).toCollection(DashboardResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptRead()).auditAs(SERVER_INFO).forVersion(1,1).toCollection(ServerInfoResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptActions("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")).auditAs(USERS).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(GROUPS).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(POLICY_AGENT).forVersion(1,2).toCollection(Key.get(IdentityResourceV1.class,Names.named("String_Node_Str"))).forVersion(2,1).toCollection(Key.get(IdentityResourceV2.class,Names.named("String_Node_Str")));
  realmRouter.route("String_Node_Str").auditAs(DEVICES).toCollection(TrustedDevicesResource.class);
  realmRouter.route("String_Node_Str").auditAs(DEVICES).authorizeWith(ResourceOwnerOrSuperUserAuthzModule.class).toCollection(OathDevicesResource.class);
  realmRouter.route("String_Node_Str").auditAs(BATCH).authorizeWith(AdminOnlyAuthzModule.class).toCollection(BatchResource.class);
  realmRouter.route("String_Node_Str").authenticateWith(ssoToken().exceptActions("String_Node_Str")).auditAs(SESSION).authorizeWith(SessionResourceAuthzModule.class).forVersion(1,1).toCollection(SessionResource.class);
  rootRouter.route("String_Node_Str").auditAs(CTS).authorizeWith(CoreTokenResourceAuthzModule.class).toCollection(CoreTokenResource.class);
  rootRouter.route(RecordConstants.RECORD_REST_ENDPOINT).auditAs(RECORD).authorizeWith(AdminOnlyAuthzModule.class).toCollection(RecordResource.class);
}