Skip to content

arrival-and-departure-for-stop method throws exception #10

Description

@sheldonabrown

API is trying to access underlying table oba_schedule_deviation_history which doesn't exist in the NYC context. The exception thrown is:

2013-05-06 13:18:42,042 ERROR [TransitDataServiceExceptionInterceptor.java:41] :
error executing TransitDataService method
org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: org
.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHisto
ry; nested exception is org.hibernate.MappingException: Unknown entity: org.oneb
usaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistory
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHiberna
teAccessException(SessionFactoryUtils.java:679)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:512)
at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTemplate.java:506)
at org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistoryDaoImpl.getScheduleDeviationHistoryForTripId(ScheduleDeviationHistoryDaoImpl.java:58)
at org.onebusaway.transit_data_federation.impl.realtime.history.RealTimeHistoryServiceImpl.getScheduleDeviationHistogramForArrivalAndDepartureInstance(RealTimeHistoryServiceImpl.java:70)
at org.onebusaway.transit_data_federation.impl.beans.ArrivalsAndDeparturesBeanServiceImpl.getArrivalAndDepartureForStop(ArrivalsAndDeparturesBeanServiceImpl.java:220)
at org.onebusaway.transit_data_federation.impl.federated.TransitDataServiceImpl.getArrivalAndDepartureForStop(TransitDataServiceImpl.java:295)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions