dragomitch / pae-postremise Goto Github PK
View Code? Open in Web Editor NEWOutil de gestion des Erasmus Académiques
Outil de gestion des Erasmus Académiques
In java we dont have routes + process for that
(atm we presume that if the address is correct, it is simplier to recreate the partner rather than handle address modifications)
Exception :
2017-11-04 11:42:16 (presentation.RouteResolver.findRoute) - INFO: Looking for the route matching: PUT /mobilityChoices/9/confirmWithNewPartner
2017-11-04 11:42:16 (presentation.RouteResolver.findRoute) - INFO: Route found: PUT /mobilitychoices/{id}/confirmWithNewPartner --> ucc.implementations.MobilityChoiceUccImpl.confirmWithNewPartner
2017-11-04 11:42:16 (presentation.Invoker.hasPermission) - INFO: Requester has right permissions
2017-11-04 11:42:16 (presentation.ExceptionHandler.handleException) - INFO: Handling IllegalArgumentException: 400 Bad Request
2017-11-04 11:42:16 (presentation.ExceptionHandler.handleException) - INFO: Message: Impossible to deserialize Json String
2017-11-04 11:42:16 (presentation.ExceptionHandler.handleException) - INFO: Cause:
com.owlike.genson.JsonBindingException: Could not deserialize to property 'address' of class class business.implementations.PartnerImpl
at com.owlike.genson.reflect.PropertyMutator.couldNotDeserialize(PropertyMutator.java:50)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:33)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:121)
at com.owlike.genson.Genson.deserializeInto(Genson.java:424)
at com.owlike.genson.Genson.deserializeInto(Genson.java:392)
at presentation.JsonSerializer.deserialize(JsonSerializer.java:124)
at presentation.Invoker.mapMethodArguments(Invoker.java:115)
at presentation.Invoker.invoke(Invoker.java:58)
at presentation.RoutingServlet.service(RoutingServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1048)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.owlike.genson.JsonBindingException: Could not deserialize to property 'id' of class class business.implementations.AddressImpl
at com.owlike.genson.reflect.PropertyMutator.couldNotDeserialize(PropertyMutator.java:50)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:33)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:121)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:102)
at com.owlike.genson.convert.NullConverterFactory$NullConverterWrapper.deserialize(NullConverterFactory.java:77)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:31)
... 30 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:592)
at java.lang.Integer.parseInt(Integer.java:615)
at com.owlike.genson.stream.JsonReader.valueAsInt(JsonReader.java:215)
at com.owlike.genson.convert.DefaultConverters$IntegerConverter.deserialize(DefaultConverters.java:429)
at com.owlike.genson.convert.DefaultConverters$IntegerConverter.deserialize(DefaultConverters.java:416)
at com.owlike.genson.convert.NullConverterFactory$NullConverterWrapper.deserialize(NullConverterFactory.java:77)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:31)
... 34 more
java.lang.IllegalArgumentException: Impossible to deserialize Json String
at presentation.JsonSerializer.deserialize(JsonSerializer.java:126)
at presentation.Invoker.mapMethodArguments(Invoker.java:115)
at presentation.Invoker.invoke(Invoker.java:58)
at presentation.RoutingServlet.service(RoutingServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1048)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.owlike.genson.JsonBindingException: Could not deserialize to property 'address' of class class business.implementations.PartnerImpl
at com.owlike.genson.reflect.PropertyMutator.couldNotDeserialize(PropertyMutator.java:50)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:33)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:121)
at com.owlike.genson.Genson.deserializeInto(Genson.java:424)
at com.owlike.genson.Genson.deserializeInto(Genson.java:392)
at presentation.JsonSerializer.deserialize(JsonSerializer.java:124)
... 26 more
Caused by: com.owlike.genson.JsonBindingException: Could not deserialize to property 'id' of class class business.implementations.AddressImpl
at com.owlike.genson.reflect.PropertyMutator.couldNotDeserialize(PropertyMutator.java:50)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:33)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:121)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:102)
at com.owlike.genson.convert.NullConverterFactory$NullConverterWrapper.deserialize(NullConverterFactory.java:77)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:31)
... 30 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:592)
at java.lang.Integer.parseInt(Integer.java:615)
at com.owlike.genson.stream.JsonReader.valueAsInt(JsonReader.java:215)
at com.owlike.genson.convert.DefaultConverters$IntegerConverter.deserialize(DefaultConverters.java:429)
at com.owlike.genson.convert.DefaultConverters$IntegerConverter.deserialize(DefaultConverters.java:416)
at com.owlike.genson.convert.NullConverterFactory$NullConverterWrapper.deserialize(NullConverterFactory.java:77)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:31)
... 34 more
2017-11-04 11:42:16 (presentation.RouteResolver.findRoute) - INFO: Looking for the route matching: GET /mobilityChoices
2017-11-04 11:42:16 (presentation.RouteResolver.findRoute) - INFO: Route found: GET /mobilityChoices --> ucc.implementations.MobilityChoiceUccImpl.showAll
2017-11-04 11:42:16 (presentation.Invoker.hasPermission) - INFO: Requester has right permissions
2017-11-04 11:42:16 (ucc.implementations.UnitOfWorkImpl.startTransaction) - INFO: Opening connection
2017-11-04 11:42:16 (ucc.implementations.UnitOfWorkImpl.commit) - INFO: Committing changes
2017-11-04 11:42:16 (ucc.implementations.UnitOfWorkImpl.commit) - INFO: Closing connection
Happens while trying to changes between pages after having changed the type of mobilities that should be active.
ConsoleTrace:
VM8985:1 XHR finished loading: GET "http://localhost:8080/api/1.0/mobilityChoices?filter=active&_=1549001157975".
(anonymous) @ VM8985:1
send @ jquery-1.12.3.min.js:4
ajax @ jquery-1.12.3.min.js:4
_fnBuildAjax @ jquery.dataTables.js:2612
__reload @ jquery.dataTables.js:7490
(anonymous) @ jquery.dataTables.js:7548
iterator @ jquery.dataTables.js:6942
(anonymous) @ jquery.dataTables.js:7547
(anonymous) @ jquery.dataTables.js:7105
updateTable @ app.js:668
render @ app.js:687
(anonymous) @ app.js:3143
navigate @ router.js:39
success @ app.js:127
i @ jquery-1.12.3.min.js:2
fireWith @ jquery-1.12.3.min.js:2
y @ jquery-1.12.3.min.js:4
c @ jquery-1.12.3.min.js:4
send @ jquery-1.12.3.min.js:4
ajax @ jquery-1.12.3.min.js:4
submitHandler @ app.js:116
dispatch @ jquery-1.12.3.min.js:3
r.handle @ jquery-1.12.3.min.js:3
jquery.dataTables.js:6484 Uncaught TypeError: Cannot read property 'mData' of undefined
at HTMLTableCellElement. (jquery.dataTables.js:6484)
at Function.each (jquery-1.12.3.min.js:2)
at n.fn.init.each (jquery-1.12.3.min.js:2)
at HTMLTableElement. (jquery.dataTables.js:6481)
at Function.each (jquery-1.12.3.min.js:2)
at n.fn.init.each (jquery-1.12.3.min.js:2)
at n.fn.init.DataTable [as dataTable] (jquery.dataTables.js:6156)
at n.fn.init.$.fn.DataTable (jquery.dataTables.js:15095)
at initializeTable (app.js:585)
at HTMLSelectElement.reloadTable (app.js:490)
Remarked with the following scenario :
Changing the connexion from a student to professor doesn’t allow sometimes the professor to see the correct interface on the mobilityChoises screen. An hard Refresh resolves temporary that issue
_Javascript todo
_Investigations related to the java possibilities todo
The issue is mainly described in Issue #2
For the moment, every new depoyement is bugging because of that
While a "demande de mobilité" is accepted, and transformed into a mobility, all others "demande de mobilité" for a user should be cancelled.
We should check for which countries we doesn't have flag pictures and make or download them.
The "selectMatch(e)" function is not displayed/working properly
Complete student information IHM not working properly even if I'm sure the backend handles it
Can someone list all the features not finished ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.