Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sheldonabrown opened this issue May 6, 2013 · 0 comments
Open

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

sheldonabrown opened this issue May 6, 2013 · 0 comments

Comments

@sheldonabrown
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant