Question about Building Bundle and Error running ExtendedCalendarServiceImpl

71 views
Skip to first unread message

Joshua RSI

unread,
Oct 16, 2020, 12:01:41 PM10/16/20
to onebusaway-developers
Hello, 

 I have been dollowin the One Bus Away developer guide. Currently I am trying to create a OBA 1.1.19. I have achieved running a OBA server but I get an error when generating the Build Bundle. 

The error in the log when running the Build Bundle shows the following: 
java.lang.IllegalStateException: error invoking refresh method=public void org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl.start() on target object=org.onebusaway.transit_data_federation.impl.ExtendedCalendarServiceImpl

The GTFS that is being used has run in a GTFS validation software with 0 errors and has successfully run with a TransitClock instance. 



Sean Barbeau

unread,
Oct 16, 2020, 12:03:12 PM10/16/20
to onebusaway-developers
Joshua,
What version of Java are you using?


Sean

Joshua RSI

unread,
Oct 16, 2020, 4:26:39 PM10/16/20
to onebusaway-developers
Hello, 

I was using Java 7. Changed to Java 8 and I am running the OBA webapp.

Thank You

Wendy Liu

unread,
Oct 18, 2020, 4:50:50 PM10/18/20
to onebusaway-developers
Hello! I'm new to this group, but have been a longtime user of OBA and am really looking forward to contributing. I'm running OBA on SDK 28, JDK 8, and the original OBA (Android) build variant on Android Studio. I'm getting the following error where it doesn't recognize the DATABASE_AUTHORITY variable passed in to a BuildConfig in Gradle, there are about 18 instances of the "cannot find symbol variable" error, all to do with DATABASE_AUTHORITY. Do you know what might be going on? Thank you in advance!

-Wendy


FileUtils.copyFile(getDB(context), backupPath);
                                    ^
  symbol:   variable DATABASE_AUTHORITY
  location: class BuildConfig

Sean Barbeau

unread,
Oct 19, 2020, 9:26:24 AM10/19/20
to onebusaway-developers
Wendy,
Welcome to the group! What version of Android Studio are you using? And do you have the "obaGoogleDebug" build variant selected in the "Build variants" window in Android Studio? It's in the bottom left corner of the screen on the side bar.

You might try doing a "File->Invalidate caches" if that doesn't fix it.

Sean

Joshua RSI

unread,
Oct 23, 2020, 8:17:34 AM10/23/20
to onebusaway-developers
Sean, 

I have been trying to develop the application modules v 1.1.19 branch specifically the webapp. When I generate the map no routes are shown. I have tryed modifying the data-soureces.xml of the webapp but I get no better results than the plain map. Also, I get the follwing error:

Processing of HessianServiceExporter remote call resulted in fatal exception: org.onebusaway.transit_data.services.TransitDataService.getRoutes
org.onebusaway.exceptions.OutOfServiceAreaServiceException: out of service area
at org.onebusaway.transit_data_federation.impl.federated.TransitDataServiceImpl.checkBounds(TransitDataServiceImpl.java:728)
at org.onebusaway.transit_data_federation.impl.federated.TransitDataServiceImpl.getRoutes(TransitDataServiceImpl.java:437)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.onebusaway.transit_data_federation.impl.federated.TransitDataServiceExceptionInterceptor.doBasicProfiling(TransitDataServiceExceptionInterceptor.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy170.getRoutes(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy170.getRoutes(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:180)
at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:109)
at org.springframework.remoting.caucho.HessianExporter.doInvoke(HessianExporter.java:198)
at org.springframework.remoting.caucho.HessianExporter.invoke(HessianExporter.java:118)
at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:66)
at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:774)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

Sean Barbeau

unread,
Oct 23, 2020, 10:06:02 AM10/23/20
to onebusaway-developers
Joshua,
The webapp in v1 is deprecated and behavior may be unexpected at this point. It uses the old Google Web Toolkit tool chain which has been sunset. The newer v2 webapp is what the OBA regions are using now, for example:

Sean

Joshua RSI

unread,
Oct 23, 2020, 11:13:06 AM10/23/20
to onebusaway-developers
Sean, 

Thank you for this information. I will shortly switch to v2 OBA.

Joshua

Reply all
Reply to author
Forward
0 new messages