Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1445900400 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[09:10:12] *** ChanServ sets mode: +o temporalfox
 +
 +[12:40:15] <​rajith>​ purplefox: I'm still working out certain parts and testing. Allow me another hour or two to make the first commit
 +
 +[13:26:49] <​rajith>​ chirino: at some point we should make it easy to set the disposition .. it's awkward to do Accepted.getInstance() ..etc ... actually the proton API around this is horrible
 +
 +[13:57:46] <​rajith>​ temporal_: is the meeting 1pm or 2pm GMT ?
 +
 +[14:01:06] <​purplefox>​ temporal_: cescoffier pmlopes : does anyone have a link to the bluejeans url?
 +
 +[14:01:29] <​purplefox>​ now
 +
 +[14:02:46] <​rajith>​ purplefox: https://​redhat.bluejeans.com/​tifox/​
 +
 +[14:28:25] <​rajith>​ temporal_: ​ purplefox sorry my internet connection went down
 +
 +[14:28:30] <​rajith>​ temporal_: is the meeting over?
 +
 +[14:28:45] <​temporal_>​ no
 +
 +[14:29:08] <​rajith>​ let me join again
 +
 +[15:10:34] <​rajith>​ purplefox: give me 30 mins to push the code ... will not work end-to-end, but pls have a look at the code
 +
 +[15:10:54] <​rajith>​ purplefox: I will make sure it works over activemq/​dispatch by lunch
 +
 +[15:11:15] <​purplefox>​ sure
 +
 +[15:56:03] <​cmbergamo>​ Hello, everybody. I'm have a problem when i try to write from a callback. "​Unexpected exception in route
 +
 +[15:56:03] <​cmbergamo>​ java.lang.NullPointerException"​ Someone know why this and how to resolve?
 +
 +[16:06:24] <​cescoffier>​ cmbergamo : the callback called on the route is throwing an exception
 +
 +[16:06:46] <​cescoffier>​ try to surround the body of the method with a try / catch (Exception e) and print the exception
 +
 +[16:07:21] <​cmbergamo>​ Let me show you what I'm trying to do in the line that trigger the error...
 +
 +[16:08:46] <​cmbergamo>​ event.response().write("​Finalizou"​);​
 +
 +[16:09:18] <​cmbergamo>​ If i don't call write(...) everything whorks fine without error.
 +
 +[16:09:40] <​cmbergamo>​ *works...
 +
 +[16:10:11] <​cescoffier>​ what's '​event',​ the request ?
 +
 +[16:10:37] <​cmbergamo>​ Yes... (lambda expression)
 +
 +[16:11:22] <​cescoffier>​ replace write with end("​...."​)
 +
 +[16:11:25] <​cescoffier>​ just to see
 +
 +[16:11:30] <​cmbergamo>​ Same error!
 +
 +[16:12:00] <​cmbergamo>​ if I call without arguments, ok, if i put something, exception
 +
 +[16:43:17] *** ChanServ sets mode: +o temporalfox
 +
 +[17:38:54] <​cmbergamo>​ Continuing, cescoffier, I did what you told me to do, and the result is: "​java.lang.NullPointerException"​ Seems that WriteStream is null. How can I solve this?
 +
 +[17:39:24] <​cescoffier>​ cmbergamo: is the request already closed ?
 +
 +[17:39:42] <​cmbergamo>​ Not yeat, I tested.
 +
 +[17:39:56] <​cescoffier>​ I will need a bit more context, can you make a gist
 +
 +[17:40:28] <​cmbergamo>​ What do you need?
 +
 +[17:40:40] <​cmbergamo>​ Let me help you to help me :D
 +
 +[18:55:46] <​AlexLehm>​ purplefox, anyone else: any chance of going further with the issue https://​bugs.eclipse.org/​bugs/​show_bug.cgi?​id=480001 ? I am at a loss what am missing there
 +
 +[18:57:03] <​purplefox>​ AlexLehm: hi alex, I think we would need a test in the PR
 +
 +[18:59:48] <​AlexLehm>​ yes, I attached the text as a gist, but I am not sure into which package that should og
 +
 +[18:59:55] <​AlexLehm>​ test as a git rather
 +
 +[19:00:01] <​AlexLehm>​ test as a gist rather
 +
 +[19:00:44] <​AlexLehm>​ so many typos in a single line, sorry
 +
 +[19:00:54] <​AlexLehm>​ I can add the test to the pr if I know where
 +
 +[19:01:11] <​purplefox>​ the issue is in the event bus right?
 +
 +[19:01:20] <​purplefox>​ if so, you can add a test to localeventbustest
 +
 +[19:01:43] <​purplefox>​ something like:
 +
 +[19:01:47] <​purplefox>​ create a timer
 +
 +[19:01:51] <​purplefox>​ create a consumer
 +
 +[19:01:58] <​purplefox>​ unregister the consumer
 +
 +[19:02:03] <​purplefox>​ oops! the timer has been cancelled
 +
 +[19:03:48] <​AlexLehm>​ ok, will do
 +
 +[19:19:56] <​AlexLehm>​ ok, i added the unit test to the PR https://​github.com/​eclipse/​vert.x/​pull/​1178/​files
 +
 +[20:12:01] <​purplefox>​ thanks AlexLehm
 +
 +[20:13:22] <​AlexLehm>​ I hope the test makes sense from your perspective
 +
 +[20:52:46] <​Lecherito>​ Is ther eany possibility of return our own implementation of Router for example? right now I have a wrapper like Router2(router) but I am not sure if it would be possible to extend Router and make vertx return that one instead
 +
 +[22:18:12] <​stillwater>​ good evening!
 +
 +[22:19:25] <​stillwater>​ anyone could give me a hand with multipart uploads in vertx?
 +
 +[22:20:54] <​stillwater>​ trying to stream data directly from a multipart upload request
 +
 +[22:21:01] <​stillwater>​ to a WriterStream<​Buffer>​
 +
 +[22:21:08] <​stillwater>​ without going through the filesystem
 +
 +[22:25:22] <​rajith>​ stillwater: the core team is from europe so they are likely sleeping at the moment
 +
 +[22:25:35] <​rajith>​ stillwater: unfortunately I haven'​t used that ... so no clue
 +
 +[22:25:42] <​rajith>​ try tomorrow morning EST
 +
 +[22:53:49] <​stillwater>​ will do
 +
 +[22:53:58] <​stillwater>​ thanks
 +
 +[23:20:56] *** ChanServ sets mode: +o purplefox
 +
 +[23:48:36] <​AlexLehm>​ stillwater: I think you can do this like this: http://​vertx.io/​docs/​vertx-core/​java/#​_handling_form_file_uploads
 +
 +[23:49:04] <​AlexLehm>​ using a Pump