July 28, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:04:21] *** jose_freitas has quit IRC
[00:22:09] <lightguard_jp> aslak: Is the OWB 1.1.x stuff in nexus now?
[00:22:11] *** mhuniewicz has joined #jbosstesting
[00:22:53] <lightguard_jp> doesn't look like it.
[00:31:17] <mhuniewicz> aslak, how's it going?
[00:54:34] *** jbott has quit IRC
[00:55:11] *** jbott has joined #jbosstesting
[00:58:57] <mhuniewicz> aslak, I'll email.
[00:58:58] *** mhuniewicz has quit IRC
[01:16:54] *** aslak has quit IRC
[01:40:30] *** jbott has quit IRC
[01:41:10] *** jbott has joined #jbosstesting
[01:50:26] *** jbott has quit IRC
[01:51:16] *** jbott has joined #jbosstesting
[02:19:48] *** ianbrandt has quit IRC
[02:46:13] *** rruss has quit IRC
[05:19:21] *** ldimaggi has quit IRC
[05:29:40] *** rruss has joined #jbosstesting
[05:48:18] *** lightguard_jp has quit IRC
[05:48:58] *** lightguard_jp has joined #jbosstesting
[07:49:57] *** rruss has quit IRC
[08:07:09] *** tdiesler has joined #jbosstesting
[08:08:36] *** jharting has joined #jbosstesting
[08:17:02] *** aslak has joined #jbosstesting
[08:20:14] *** Jaikiran has joined #jbosstesting
[08:32:50] *** mgoldmann has joined #jbosstesting
[08:35:40] *** ge0ffrey has joined #jbosstesting
[08:55:19] *** oskutka has joined #jbosstesting
[09:02:04] <jbossbot> git [arquillian-container-openwebbeans] push ARQ-526 903eafc.. struberg ARQ-526 Due to change in OpenWebBeans SPI, URL->String, change to register beans.xml via WebBeansXMLConfigurator. WebBeansXMLConfigurator support InputStream in both OpenWebBeans 1.0 and 1.1...
[09:02:05] <jbossbot> jira [ARQ-526] Support OpenWebBeans 1.1 Container [Open (Unresolved) Feature Request, Major, Unassigned] https://issues.jboss.org/browse/ARQ-526
[09:02:06] <jbossbot> git [arquillian-container-openwebbeans] push ARQ-526 URL: http://github.com/arquillian/arquillian-container-openwebbeans/compare/0000000...903eafc
[09:12:20] *** kenglxn has joined #jbosstesting
[09:18:17] *** bleathem has quit IRC
[09:19:15] <jbossbot> git [descriptors] push master 032aab2.. Ken Gullaksen [SHRINKDESC-60] added removeAttribute method to Node, including testcase
[09:19:16] <jbossbot> jira [SHRINKDESC-60] Support Node.removeAttribute [Open (Unresolved) Feature Request, Major, Unassigned] https://issues.jboss.org/browse/SHRINKDESC-60
[09:19:16] <jbossbot> git [descriptors] push master URL: http://github.com/shrinkwrap/descriptors/compare/79f4edb...032aab2
[09:21:34] *** ALR has joined #jbosstesting
[09:22:17] *** lfryc has joined #jbosstesting
[09:30:58] *** kevinpollet has joined #jbosstesting
[09:31:12] *** jhuska has joined #jbosstesting
[09:32:10] *** kpiwko has joined #jbosstesting
[09:34:04] *** jeand has joined #jbosstesting
[09:44:56] <ALR> aslak: Seen Ralf?
[09:45:06] <aslak> ALR, he was by last night
[09:45:37] <aslak> ALR, he was wondering if the new desc replaced the old ones.. i said yes, so he was going to gen stuff for those as well..
[09:46:25] <ALR> aslak: Yeah, I wanted to rebase his stuff
[09:46:28] <ALR> But it needs Gen
[09:46:44] <ALR> What I really need to talk about w/ him is tying gen to build lifecycle
[09:46:57] <aslak> ALR, yea, i mentioned it to him
[09:47:02] <ALR> Word.
[09:47:18] <ALR> Maybe he'll be on in the evening his time tonight
[09:47:21] <ALR> I'll catch him then
[09:47:27] <ALR> Switching my sleep schedule
[09:47:31] <ALR> So going to bed
[09:47:34] <ALR> Office tomorrow
[09:47:35] <ALR> Night
[09:47:44] <kpiwko> ALR: good night
[09:47:47] *** ALR has quit IRC
[09:48:06] <kpiwko> aslak: good morning :)
[09:50:46] <aslak> kpiwko, good morning
[10:10:40] *** kevinpollet has quit IRC
[10:12:07] *** maeste has joined #jbosstesting
[10:12:11] *** maeste has quit IRC
[10:25:42] *** pil-zZzZZzzZZ has joined #jbosstesting
[10:28:52] *** kevinpollet has joined #jbosstesting
[10:36:34] *** pil-zZzZZzzZZ has quit IRC
[10:37:08] *** pil-zZzZZzzZZ has joined #jbosstesting
[10:40:53] <kpiwko> aslak: I was thinking about testing application in OpenShift and I have figured there are actually two ways how this should be done:
[10:40:53] <kpiwko> 1/ OpenShift will ensure there is no other but test archive deployed, so Arquillian is using clean env but this will make app unavailable during testing
[10:40:53] <kpiwko> 2/ OpenShift will ensure there is no change in current deployments, but this might lead to collisions between real and testing apps
[10:40:53] <kpiwko> I personally like 2/ better but when it comes to JNDI and such stuff, the probability of collision is growing up exponentially
[10:42:48] <aslak> if we're talking express, the env is the same which ever app you make, so i would suggest using two different applications, appname and appname-test or similar
[10:43:52] <aslak> you can create two container configs, one default which point to appname-test, and then use "mvn arquillian:deploy -Darquillian.launch appname" to deploy full app to production
[10:48:26] <kpiwko> hmm
[10:48:56] <kpiwko> so we don't need a marker file to disable the autobuild as appname-test won't ever have any source?
[10:50:14] <aslak> hmm.. how will that even work.. if you auto build on the server, with arq tests against your own account ?
[10:51:13] <kpiwko> no, I mean the problem you had yesterday ... it wasn't working without pom.xml and src dir removed
[10:51:20] <aslak> so while the user is doing a git commit, the server will start deploying to the same git repo.. (it wil lmost likly fail with auth before it get sto that point but)
[10:51:53] *** kenglxn has left #jbosstesting
[10:52:41] <aslak> kpiwko, is there a autobuild.disable marker already ?
[10:53:11] <kpiwko> aslak: not yet, I'm trying to establish its behavior with devs :)
[11:21:11] *** lightguard_jp has quit IRC
[11:27:26] <jhuska> aslak, Hi, I noticed that there is tomcat-embedded-7 in upstream, I would like to build it, but it can not find org.jboss.arquillian:arquillian-bom:pom:1.0.0.Final-SNAPSHOT, in wich repository it is please ?
[11:33:13] *** galderz has joined #jbosstesting
[11:37:21] <aslak> jharting, github.com/arquillian/arquillian-core
[11:37:24] <aslak> jhuska, github.com/arquillian/arquillian-core
[11:37:29] <aslak> jharting, back to sleep.. :)
[11:40:20] <aslak> jhuska, it currently won't compile due to some transitive deps in arq-core.. but if you add shrinkwrap-descriptor-impl it should work
[11:46:55] <jhuska> aslak, ok, thanks
[12:23:33] *** kevinpollet has quit IRC
[12:45:18] *** maeste has joined #jbosstesting
[12:52:42] *** galderz has quit IRC
[13:02:32] *** alesj has joined #jbosstesting
[13:05:45] *** galderz has joined #jbosstesting
[13:11:03] *** jganoff has joined #jbosstesting
[13:14:10] *** jose_freitas has joined #jbosstesting
[13:15:11] <jose_freitas> g'morning
[13:28:21] *** Jaikiran has quit IRC
[13:42:02] *** kevinpollet has joined #jbosstesting
[13:59:50] *** oskutka has quit IRC
[14:01:16] *** Jaikiran has joined #jbosstesting
[14:06:59] *** alesj has quit IRC
[14:07:12] *** alesj has joined #jbosstesting
[14:15:20] *** oskutka has joined #jbosstesting
[14:15:21] *** psychollek has quit IRC
[14:17:23] *** rruss has joined #jbosstesting
[14:30:57] *** tdiesler is now known as tdiesler_afk
[14:31:49] *** tdiesler_afk has quit IRC
[14:36:46] *** galderz1 has joined #jbosstesting
[14:36:53] *** galderz has quit IRC
[14:39:24] *** jganoff has quit IRC
[14:41:21] *** galderz1 has quit IRC
[14:45:42] *** oskutka has quit IRC
[14:48:41] *** Jaikiran has quit IRC
[14:50:28] *** Jaikiran has joined #jbosstesting
[14:59:53] *** oskutka has joined #jbosstesting
[15:00:08] *** tdiesler has joined #jbosstesting
[15:02:34] *** bgeorges has joined #jbosstesting
[15:07:10] *** ldimaggi has joined #jbosstesting
[15:33:38] *** bleathem has joined #jbosstesting
[15:35:38] *** galderz has joined #jbosstesting
[15:55:12] *** mgoldmann_ has joined #jbosstesting
[15:56:55] *** jharting has quit IRC
[15:58:26] *** mgoldmann has quit IRC
[16:27:07] *** jhuska has quit IRC
[16:30:46] *** jhuska has joined #jbosstesting
[16:44:20] <jose_freitas> hey aslak, you there?
[16:52:46] *** kpiwko has quit IRC
[16:55:46] <aslak> jose_freitas, heya
[16:59:28] *** bgeorges has quit IRC
[17:00:23] *** oskutka has quit IRC
[17:06:26] *** Jaikiran is now known as Jaikiran|brb
[17:13:24] *** maeste has quit IRC
[17:15:04] *** Jaikiran|brb is now known as Jaikiran
[17:25:06] *** Jaikiran has quit IRC
[17:29:28] *** pil-zZzZZzzZZ is now known as pilhuhn
[17:29:28] *** pilhuhn has joined #jbosstesting
[17:29:48] <jose_freitas> aslak: I had a problem and I'd like to talk to you about what could we do about it.
[17:30:05] <jose_freitas> Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob
[17:30:27] <jose_freitas> this is a class from htmlunit
[17:31:21] <jose_freitas> and arquillian tries to serialize it, to send data from server to clien
[17:31:23] <jose_freitas> client
[17:32:03] <jose_freitas> the most simple solution is to "fix" htmlunit class
[17:32:20] <jose_freitas> but I'm not sure about when they plan to release a version
[17:32:41] <jose_freitas> do you see another way to work with this situation?
[17:33:28] *** tdiesler has quit IRC
[17:33:47] *** bcave has joined #jbosstesting
[17:33:54] <bcave> hi
[17:36:17] *** Jaikiran has joined #jbosstesting
[17:39:15] <jose_freitas> hi bcave
[17:39:19] *** alesj has quit IRC
[17:39:19] *** jhuska has quit IRC
[17:43:11] <bcave> how are you jose_freitas ?
[17:46:11] *** kevinpollet has quit IRC
[17:46:22] <aslak> jose_freitas, when are you trying to send data to the client ?
[17:47:09] <jose_freitas> jsfunit extension
[17:47:19] <aslak> jose_freitas, why ?
[17:49:11] <jose_freitas> hm
[17:49:31] <jose_freitas> it happens on ServletMethodExecutor.invoke
[17:49:43] <aslak> jose_freitas, sure your not getting a exception ?
[17:50:17] <aslak> jose_freitas, got the full stacktrace ?
[17:51:16] <jose_freitas> http://pastebin.com/tAJHu99W
[17:52:03] <jose_freitas> aslak: I had a test that was passing, but when I add a working javascript code
[17:52:13] <jose_freitas> the test starts failling
[17:52:29] <jose_freitas> it's a really simple test
[17:53:33] <aslak> huh ?
[17:54:22] <aslak> aa.. yea, it's trying to write the TestResult, which probably contain a Exception from htmlunit, which it fails to write
[17:55:07] <aslak> jose_freitas, if you breakpoint ServletTestRunner.java:163 you can probably see the exception i TestResult.throwable
[17:55:14] <aslak> i/in
[17:56:10] <jose_freitas> hm
[17:56:14] <jose_freitas> ok
[17:56:17] <jose_freitas> let me see
[17:56:26] <aslak> jose_freitas, shouldn't fail there tho, but..
[18:00:17] *** aslak has quit IRC
[18:00:54] *** aslak has joined #jbosstesting
[18:03:39] <aslak> jose_freitas, should report a issue with htmlunit as well.. they break the Exception contract somehow
[18:03:47] <aslak> somehow / somewhere
[18:04:06] <jose_freitas> yeah
[18:13:21] *** kevinpollet has joined #jbosstesting
[18:15:14] *** ALR has joined #jbosstesting
[18:16:31] <jbossbot> git [arquillian-container-tomcat] push master 8a99943.. Aslak Knutsen ARQ-514 Add test scoped dependency on shrinkwrap-descriptors-impl, no longer come in transitive from Arquillian Core
[18:16:35] <jbossbot> jira [ARQ-514] Remove all compile-time dependencies upon ShrinkWrap Descriptors Impl Module [Resolved (Done) Task, Blocker, Andrew Rubinger] https://issues.jboss.org/browse/ARQ-514
[18:16:35] <jbossbot> git [arquillian-container-tomcat] push master URL: http://github.com/arquillian/arquillian-container-tomcat/compare/963910b...8a99943
[18:16:35] <jbossbot> git [arquillian-container-jetty] push master deeefb0.. Aslak Knutsen ARQ-514 Add test scoped dependency on shrinkwrap-descriptors-impl, no longer come in transitive from Arquillian Core
[18:16:36] <jbossbot> git [arquillian-container-jetty] push master URL: http://github.com/arquillian/arquillian-container-jetty/compare/839a373...deeefb0
[18:17:59] *** Jaikiran is now known as Jaikiran|Dinner
[18:21:16] *** mgoldmann_ has quit IRC
[18:22:41] *** pilhuhn is now known as pil-afk
[18:23:47] *** Jaikiran|Dinner has quit IRC
[18:26:14] *** kevinpollet has quit IRC
[18:26:31] *** kevinpollet has joined #jbosstesting
[18:26:53] *** kevinpollet has quit IRC
[18:27:28] *** aslak has quit IRC
[18:40:56] *** aslak has joined #jbosstesting
[18:41:02] *** aslak has quit IRC
[18:41:02] *** aslak has joined #jbosstesting
[18:43:54] *** rbattenfeld has joined #jbosstesting
[18:45:20] <rbattenfeld> Hi Andrew, how are you?
[18:50:42] *** galderz has quit IRC
[19:01:20] *** bleathem has quit IRC
[19:06:12] <ALR> rbattenfeld: Hiya!
[19:06:30] <ALR> rbattenfeld: Hehe, been hoping to catch you.  Be sure to type my name so I get an alert.
[19:06:37] <rbattenfeld> ALR: hiya:-)
[19:07:02] <ALR> rbattenfeld: So I've a bunch on my mind, having done a good review of where we're at in SD-54
[19:07:54] <rbattenfeld> ALR: Super, do you have something postet?
[19:08:11] <ALR> rbattenfeld: Nope.
[19:08:34] <ALR> rbattenfeld: First, as you saw I've made significant SPI changes
[19:08:47] <ALR> I went to refactor what we have in the codebase, but figured that doesn't make much sense.
[19:08:54] <ALR> As we deal with generated code.
[19:08:58] <ALR> So that got me thinking.
[19:09:16] <ALR> "Do we even need to maintain the generated code in version control?"
[19:09:23] <ALR> Because the workflow is currently:
[19:09:26] <ALR> 1) Run Gen
[19:09:29] <ALR> 2) Make edits
[19:09:35] <ALR> 3) Copy elsewhere
[19:10:09] <rbattenfeld> ALR: Yes, that is how I work
[19:10:47] <rbattenfeld> ALR: I am not aware that I changed the SPI layer?
[19:10:54] <ALR> Right, so that calls into question maintenance.
[19:11:00] <ALR> I changed the SPI layer. :)
[19:11:04] <ALR> As part of SD-58
[19:11:26] <ALR> So looking forward, when there are bugs, if we change the generated code, that's all well and good.
[19:11:36] <ALR> Until the next time a more significant change is needed.
[19:11:40] <ALR> And we run generation again.
[19:11:47] <ALR> Making the previous changes lost.
[19:11:50] <ALR> So I was thinking.
[19:12:11] <ALR> It'd be really great to get us to a place where the build makes the gen'd code, and that's it
[19:12:17] <ALR> We never make changes to that code
[19:12:23] <ALR> And we don't store it in version control
[19:13:26] *** galderz has joined #jbosstesting
[19:14:30] <rbattenfeld> ALR: Yes, I can follow this idea. It makes my life easier:-)
[19:14:57] <ALR> Exactly.
[19:15:03] <ALR> I'm all about making it easier :)
[19:15:15] <ALR> rbattenfeld: So what are the barriers to getting the gen to be fully-automated?
[19:15:26] <ALR> 1) Moving the classes to the right place
[19:15:30] <ALR> 2) Organize imports
[19:15:33] <ALR> What else?
[19:15:53] <rbattenfeld> ALR: Applying the formating rules
[19:17:13] <rbattenfeld> ALR: The steps are mostly in place in the gen module. The generation is triggered by a maven plugin. So, step 1 is available
[19:18:00] <ALR> rbattenfeld: How can I run it?
[19:18:31] <rbattenfeld> ALR: step into the gen folder and enter: mvn clean install
[19:18:42] <ALR> Ah, I'd done that
[19:18:44] <ALR> Easy enough
[19:18:45] <ALR> OK
[19:19:36] <rbattenfeld> ALR: Yes, in the pom, we can simply change the output folder... but...
[19:20:43] <ALR> Formatting doesn't matter.
[19:20:51] <ALR> If we don't put these in version control.
[19:21:14] <rbattenfeld> ALR: I realize that I have then to split the maven output to different folders. One for the API and one for the IMPL folder. This I have do to
[19:21:14] <ALR> The only benefits to formatting IMO are in keeping consistent rules to clearly see diffs on commits.
[19:21:32] <ALR> rbattenfeld: I wonder if each api and impl should hold their own definitions.
[19:21:45] <ALR> Eh, probably not.
[19:21:54] <rbattenfeld> ALR: own definitions?
[19:22:14] <ALR> Like if api should generate its own source
[19:22:23] <ALR> Instead of another project doing it.
[19:22:38] <ALR> rbattenfeld: How about organizing imports...what's needed there?
[19:22:53] <ALR> (Keep in mind that imports are ditched by the compiler do we don't care about that so much either)
[19:23:20] <rbattenfeld> ALR: Actually it is just the compiler warnings for unused imports
[19:23:33] <ALR> Yup.
[19:23:48] <rbattenfeld> ALR: it compiles as generated
[19:23:52] <ALR> Any way to keep the gen from knowing what's not needed?
[19:25:14] <rbattenfeld> ALR: hmm, I am not sure what you mean
[19:26:24] <ALR> How to keep the gen from putting out unused imports.
[19:27:28] *** bleathem has joined #jbosstesting
[19:27:50] <rbattenfeld> ALR: ok, now I understand you. Yes, this is possible but requires more logic. Currently, I add a static list of imports so that everything compiles
[19:28:04] <ALR> That's more than fine for now.
[19:28:14] <ALR> So looks like it's not going to take much to fix that up.
[19:28:24] <ALR> And make this a generated-code-only project
[19:28:41] <ALR> The only other big thing I'm thinking is api-jboss and impl-jboss
[19:28:46] <ALR> For JBoss-specific extensions.
[19:28:55] <ALR> But that can come later.
[19:29:16] <ALR> Basically just a matter of making new modules and changing the output folders of the gen module to match it
[19:29:53] <rbattenfeld> ALR: yes, I think so ...
[19:29:56] <ALR> rbattenfeld: Mind if I take a stab at doing that over the next couple days?
[19:30:05] <ALR> Do you have any commits that need to go in first?
[19:31:02] <ALR> rbattenfeld: Oh also: How did you ever make these XSLT files?  They're crazy long and complicated to do by hand - did you really put all that work in?
[19:31:10] <ALR> Or some sort of reverse generation thing seeded it?
[19:31:29] <rbattenfeld> ALR: no problem:) It would be cool.
[19:31:42] <ALR> rbattenfeld: Great.  So I'll aim to do that.
[19:31:48] <rbattenfeld> ALR: These xslt script are done by hand...
[19:31:55] <ALR> rbattenfeld: Wow.  Bravo.
[19:33:00] <rbattenfeld> ALR: but I am not so proud about it... it is hard to maintain for others. I want sometimes to refactor this scripts for a easier maintanance
[19:33:19] <ALR> rbattenfeld: You can always do that down the line.
[19:33:40] <ALR> For now I think just focusing that their output is correct/tested is amazing
[19:34:04] <rbattenfeld> ALR: yes, exactly my vision
[19:34:11] <ALR> Super.
[19:34:17] <ALR> rbattenfeld: Got anything else for me?
[19:34:30] <rbattenfeld> ALR: yes, to things...
[19:34:38] <ALR> Shoot.
[19:34:47] <rbattenfeld> ALR: sorry two questions:
[19:36:05] <rbattenfeld> 1) I started with the wiki and I configured you as approval authority. Do you have access to this wiki?
[19:37:24] <ALR> rbattenfeld: Where is this?
[19:37:45] <rbattenfeld> ALR: I have to look...
[19:38:36] <rbattenfeld> ALR: does that help: http://community.jboss.org/docs/DOC-17082
[19:39:10] <ALR> ooooh
[19:39:36] <ALR> rbattenfeld: Why the approval authority?
[19:39:44] <ALR> You can't just make articles?
[19:40:07] <ALR> rbattenfeld: I approved it
[19:40:31] *** galderz has quit IRC
[19:40:32] <rbattenfeld> ALR: I could but I think it is better that you have a look before I make that public
[19:40:40] <ALR> rbattenfeld: Oh, it's community docs.
[19:41:01] <rbattenfeld> ALR: fine:-)
[19:41:02] <ALR> So it's OK to even note that info may be incomplete or inaccurate as you're building it
[19:41:13] <ALR> Or you can keep it in your own draft state until you want to publish it.
[19:41:34] <rbattenfeld> ALR: I prefer the second option
[19:41:44] <ALR> But yeah, you don't need my approval to seed any community discussion/docs/articles.  The community is ours to share.
[19:41:57] <ALR> Though I'll always be happy to look at your stuff.
[19:42:05] <rbattenfeld> ALR: cool! second question...
[19:42:56] <rbattenfeld> ALR: does it make sense that we generate all existing descriptors? the beans.xml is currently not generated
[19:44:03] *** rruss has quit IRC
[19:44:09] <rbattenfeld> ALR: do you need more details how the generation process works?
[19:44:25] <rbattenfeld> ALR: I mean in detail
[19:44:28] * ALR brb sorry
[19:44:30] <ALR> 3 min
[19:46:24] *** galderz has joined #jbosstesting
[19:48:20] <ALR> rbattenfeld: Back
[19:49:09] <ALR> rbattenfeld: Does it make sense we generate all existing descriptors?
[19:49:13] <ALR> Um, in general yes
[19:49:23] <ALR> Though I think first making sure that what we have is accurate
[19:49:37] <ALR> And the API that's generated is consistent and follows some naming rules
[19:49:43] <ALR> That's the next thing I wanna review
[19:49:59] <rbattenfeld> ALR: yes, that makes sense.
[19:50:19] <rbattenfeld> ALR: there is one thing I wanted to ask you for a long time:-)
[19:50:33] <ALR> Sure, what's that?
[19:51:01] *** galderz has quit IRC
[19:51:17] <rbattenfeld> ALR: do you or aslak need help for other things? Is it difficult to do some stuff for the app server?
[19:52:59] <ALR> rbattenfeld: Perfect.
[19:53:06] <ALR> Let me get back to you on that.
[19:53:18] <ALR> Always looking to bring people deeper into the hole.
[19:53:33] <ALR> So let me see what I can find that's able to be broken off easily enough.
[19:53:46] <ALR> TBH this descriptors stuff is likely to become important
[19:53:51] *** galderz has joined #jbosstesting
[19:53:55] <rbattenfeld> ALR: great!
[19:53:57] *** galderz has quit IRC
[19:54:02] <ALR> I'm looking to make a case for it to become the object view of metadata that AS will use eventually.
[19:54:07] <ALR> We have our own already:
[19:54:09] <ALR> jboss-metadata
[19:54:23] <ALR> It's run by a slower backend.
[19:54:46] <ALR> rbattenfeld: Got a meeting here.
[19:54:52] <ALR> I'll get back to you when I have more
[19:54:57] <ALR> Hopefully catch you tomorrow.
[19:55:10] <rbattenfeld> ALR: Fine. Thanks a lot. Yes tomorrow: see you
[19:56:01] *** rbattenfeld has left #jbosstesting
[20:25:17] *** ianbrandt has joined #jbosstesting
[20:26:57] *** bleathem is now known as bleathem_away
[20:37:25] *** lightguard_jp has joined #jbosstesting
[20:40:37] *** ge0ffrey has quit IRC
[20:44:56] *** alesj has joined #jbosstesting
[20:47:48] <jose_freitas> aslak: dunno, if there's another exception, it's really hard to track
[20:47:53] <jose_freitas> java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.gargoylesoftware.htmlunit.javascript.background.JavaScriptFunctionJob
[20:48:12] <aslak> jose_freitas, do you have the breakpoint where you have the TestResult ?
[20:48:22] <jose_freitas> I have dozens of them now
[20:48:23] <jose_freitas> hehehe
[20:48:38] <aslak> jose_freitas, what does TestResult.throwable say ?
[20:57:23] *** pil-afk is now known as pilhuhn
[21:00:55] <jose_freitas> aslak: one sec, sorry, got a phone call
[21:05:49] *** rruss has joined #jbosstesting
[21:09:22] <jose_freitas> aslak: TestResult.throwable says => java.lang.RuntimeException: Could not inject members. But I think it is lying!
[21:09:50] <jose_freitas> what causes the error could be a simple component that uses javascript
[21:10:02] <jose_freitas> like <p:spinner /> (from primefaces0
[21:10:30] <jose_freitas> without <p:spinner /> it works fine
[21:11:19] <jose_freitas> hehehe, I mean, not lying, but it's not pointing to the real origin
[21:12:51] <aslak> jose_freitas, what's the cause ?
[21:14:05] <jose_freitas> it points to a htmlunit not serializable class
[21:16:04] <jose_freitas> related to javascript (JavascriptJob)
[21:16:14] <aslak> jose_freitas, can you e.printStackTrace ?
[21:17:05] *** jeand has quit IRC
[21:19:19] <jose_freitas> ok
[21:19:24] *** bleathem_away is now known as bleathem
[21:29:07] <jose_freitas> aslak: http://pastebin.com/tAJHu99W
[21:29:36] <aslak> jose_freitas, no, i mean the one in TestResult.throwable
[21:31:18] <jose_freitas> ok
[21:31:56] <aslak> jose_freitas, set a DetailFormatter in eclipse debug mode or similar
[21:33:05] <jose_freitas> ahnnn
[21:33:16] <jose_freitas> now we have a real error
[21:34:56] <jose_freitas> this is the real error
[21:34:57] <jose_freitas> Caused by: com.gargoylesoftware.htmlunit.ScriptException: Can't find bundle for base name net.sourceforge.htmlunit.corejs.javascript.resources.Messages, locale pt_BR
[21:35:49] <jose_freitas> it was covered by the error when it tried to write cause
[21:36:23] <jose_freitas> ok, now I have something I can work with
[21:36:24] <jose_freitas> thanks aslak
[21:36:51] <aslak> jose_freitas, probably missing some resources files in the jsfunit archive we create
[21:37:53] <jose_freitas> yes
[21:39:15] <jose_freitas> testResult saying that could not inject members, test fail stacktrace saying that it couldn't serialize a class.
[21:40:01] <aslak> jose_freitas, yea, because the cause of the "could not inject members" is not serializable
[21:40:15] <aslak> so it fails to return the real error
[21:40:36] <jose_freitas> :)
[21:40:40] <jose_freitas> anyway, thank you
[21:41:25] <jose_freitas> I'll fix that, but I'm worried about something, do we have to bundle all locales?
[21:42:20] <aslak> jose_freitas, well, we need to bundle htmlunit
[21:45:10] <jose_freitas> maybe, we could add the whole jar with mavenresolver?
[21:45:32] <aslak> jose_freitas, been wondering about it
[21:46:21] <aslak> need to extract the version from the lib on cp or similar
[21:46:55] <aslak> could get a bit tricky with corporate proxy repos etc etc
[21:47:03] <jose_freitas> hm
[21:58:35] *** mhuniewicz has joined #jbosstesting
[21:59:07] *** pilhuhn has quit IRC
[21:59:43] <mhuniewicz> aslak, hi
[22:00:04] <aslak> mhuniewicz, heya
[22:00:19] <mhuniewicz> Did you get my email? It looks okay now.
[22:00:21] <aslak> mhuniewicz, saw your mail, havnen't had time to look at it yet tho.. :)
[22:00:29] <mhuniewicz> Oh I see.
[22:01:00] <mhuniewicz> aslak, can you email me once you get a chance to check it out?
[22:04:43] <aslak> mhuniewicz, sure, will do
[22:05:02] <mhuniewicz> aslak, thanks. :)
[22:05:21] <aslak> mhuniewicz, you filed the eclipse link issues right ?
[22:05:29] <mhuniewicz> That's correct.
[22:05:41] <aslak> you got the URL +
[22:05:43] <aslak> ?
[22:05:58] <mhuniewicz> https://bugs.eclipse.org/bugs/show_bug.cgi?id=352937
[22:07:15] <aslak> aaa yea.. that was the null thing, not cl
[22:17:47] *** kevinpollet has joined #jbosstesting
[22:18:37] *** OndraZizka has quit IRC
[22:19:09] *** OndraZizka has joined #jbosstesting
[22:19:57] *** bleathem is now known as bleathem_busy
[22:26:02] *** kevinpollet has quit IRC
[22:26:06] *** kevinpollet_ has joined #jbosstesting
[22:40:24] *** kevinpollet_ has quit IRC
[22:40:27] *** kevinpollet has joined #jbosstesting
[22:41:50] *** ldimaggi has quit IRC
[22:50:27] <jose_freitas> aslak: tests passed :)
[22:50:59] <aslak> weee :I)
[22:51:01] <aslak> weee :)
[23:03:24] *** ALR has quit IRC
[23:11:52] *** kevinpollet has quit IRC
[23:33:51] *** bleathem_busy has quit IRC
[23:36:35] *** jose_freitas has quit IRC
[23:41:39] *** lfryc has quit IRC

top