rpau / javalang-compiler

Java compiler elements (symbol and type tables) to perform code semantic analysis
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Issues for sloy/Servibus #24

Open rpau opened 8 years ago

rpau commented 8 years ago

Bug2

Caused by: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: java.lang.Exception: Ops! The method call obtainCercanasAction.obtainCercanas(location).map(ParadaCercana::getParada).map(Parada::getNumero).flatMap(lineaDataSource::getFromParada).flatMap(Observable::from).distinct().toSortedList().flatMap(Observable::from) is not resolved. The scope is [rx.Observable<java.util.List>] , and the args are : [ null] ... 34 more Caused by: java.lang.Exception: Ops! The method call obtainCercanasAction.obtainCercanas(location).map(ParadaCercana::getParada).map(Parada::getNumero).flatMap(lineaDataSource::getFromParada).flatMap(Observable::from).distinct().toSortedList().flatMap(Observable::from) is not resolved. The scope is [rx.Observable<java.util.List>] , and the args are : [ null] at org.walkmod.javalang.compiler.reflection.SymbolDataOfMethodReferenceBuilder.build(SymbolDataOfMethodReferenceBuilder.java:75) at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:516)

Bug3

Caused by: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: java.lang.Exception: Ops! The method call Observable.range(0, ordered.size()).zipWith(ordered, ( i, fav)->updateOrder(fav, i)) is not resolved. The scope is [rx.Observable] , and the args are : [ java.util.List, null] ... 34 more

Bug4

Caused by: Error processing the analysis of [/Users/rpau/tests/SeviBus/SeviBus/src/main/java/com/sloy/sevibus/resources/maputils/BusesLayer.java] - org.walkmod.util.location.LocationImpl@425357dd at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.loadInnerClass(TypesLoaderVisitor.java:496) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.loadInnerClass(TypesLoaderVisitor.java:498) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.loadInnerClass(TypesLoaderVisitor.java:498) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.loadInnerClass(TypesLoaderVisitor.java:498) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.addType(TypesLoaderVisitor.java:458) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.visit(TypesLoaderVisitor.java:366) at org.walkmod.javalang.ast.ImportDeclaration.accept(ImportDeclaration.java:109) at org.walkmod.javalang.compiler.types.TypesLoaderVisitor.visit(TypesLoaderVisitor.java:643) at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:159) at org.walkmod.javalang.walkers.DefaultJavaWalker.visit(DefaultJavaWalker.java:198) at org.walkmod.javalang.walkers.DefaultJavaWalker.accept(DefaultJavaWalker.java:86) ... 14 more Caused by: java.lang.RuntimeException: The referenced class uk$me$jstott$jcoord$UTMRef does not exists ... 25 more

Bug 5

Caused by: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: java.lang.Exception: Ops! The method call Observable.from(lineas).flatMap( linea->getLlegada(linea, parada)) is not resolved. The scope is [rx.Observable<java.util.List>] , and the args are : [ null] ... 34 more Caused by: java.lang.Exception: Ops! The method call Observable.from(lineas).flatMap( linea->getLlegada(linea, parada)) is not resolved. The scope is [rx.Observable<java.util.List>] , and the args are : [ null] at org.walkmod.javalang.compiler.reflection.SymbolDataOfMethodReferenceBuilder.build(SymbolDataOfMethodReferenceBuilder.java:75) at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:516) ... 33 more

Bug 6

src/main/java/com/sloy/sevibus/resources/sync/UpdateDatabaseAction.java

Caused by: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: java.lang.Exception: Ops! The method call Observable.create( subscriber->{ try { if (BuildConfig.FLAVOR.equals("sevilla")) { updateData(); } subscriber.onCompleted(); } catch (Exception e) { subscriber.onError(e); } }) is not resolved. The scope is [rx.Observable] , and the args are : [ null] ... 34 more Caused by: java.lang.Exception: Ops! The method call Observable.create( subscriber->{ try { if (BuildConfig.FLAVOR.equals("sevilla")) { updateData(); } subscriber.onCompleted(); } catch (Exception e) { subscriber.onError(e); } }) is not resolved. The scope is [rx.Observable] , and the args are : [ null] at org.walkmod.javalang.compiler.reflection.SymbolDataOfMethodReferenceBuilder.build(SymbolDataOfMethodReferenceBuilder.java:75) at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:516)

Bug 7

src/main/java/com/sloy/sevibus/ui/fragments/MapaControllerFragment.java

Caused by: java.lang.Exception: Ops! The method call obtainFavoritasAction.getFavoritas().flatMap(Observable::from) is not resolved. The scope is [rx.Observable<java.util.List>] , and the args are : [ null] at org.walkmod.javalang.compiler.reflection.SymbolDataOfMethodReferenceBuilder.build(SymbolDataOfMethodReferenceBuilder.java:75) at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:516)