This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[build 200510251800] -have web app with more source roots -have some classes in standart source root -create new websvc in custom source root => java.lang.AssertionError: Cannot end transaction from a different thread! at org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:337) at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:248) at org.netbeans.modules.j2ee.common.JMIUtils.endJmiTransaction(JMIUtils.java:238) at org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService(WebServiceGenerator.java:262) ... now let's close IDE => dialog with running Web service creation task appears and you have to "kill" it
Created attachment 26350 [details] exception
This issue was identified as Q-Build stopper. Please do not forget to commit the fix also to Q-Build branch - QBE200510251800. Thanks.
Working on it.
I not able to reproduce it neither with current build, nor with the mentioned one.
I can't reproduce the issue in q-build candidate 200510251800 on Linux OS. Therefore, the issue isn't q-build stopper. It seems that issue is random or related to specific configuration. Lukasi, pls add more info for reproducing the issue. Thanks
I'm able to reproduce it on 2 boxes with winxp (one in lab and on NB) and while i've been working on fixing aut. tests for wizards I saw this also on linux and solaris. Will look at it again.
I'm still not able to reproduce, but I think I have a fix for the exception which went to trunk right now: Checking in WebServiceGenerator.java; /cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceGenerator.java,v <-- WebServiceGenerator.java new revision: 1.33; previous revision: 1.32 done Please verify if it helped or not.
Just to chime in here, I saw this issue at least 6-8 times if not more last week. Since for my purposes it's occurence was a deal killer (forced me to restart the IDE and try again) for what I was trying to do, here's what I did: I saw this happen a lot ( > 50%) when I switched to some other task (like browser, or other copy of NetBeans) while I was waiting for the webservice to be generated (this is after hitting finish on the wizard). I found I rarely or never saw the problem if I just sat and waited after hitting finish (no typing, no mouse, just waiting), until the webservice was fully created. So my recommendation for reproducing this is this: Start IDE Create new webapp Create new webservice from scratch hit <Finish> Switch to some other full or mostly full screen task like your web browser and read email or something until it's done. Preferably do this on a slow enough computer that the web service generation takes 30 seconds to a minute to generate the service. I also had a copy of NB up debugging the target NB instance that is doing these steps, not sure what impact that had.
now (just checked this on solaris) it throws RuntimeException: java.lang.RuntimeException at org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService(WebServiceGenerator.java:252) at org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.generateWebService(WebServiceGenerator.java:107) at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.generateWebService(WebServiceWizard.java:211) at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.access$000(WebServiceWizard.java:62) at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard$1.run(WebServiceWizard.java:183) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:904)
Replacing INCOMPLETE with RANDOM - according to feedback I'm not the only one who saw this. According to aut. tests this is also reproducible with simple web project. Will try to add HW configuration of some box, on which this is reproducible. Also I'm also decreasing priority to P2, because original AE and its consequences are fixed and now only RuntimeException from my last comment is thrown.
I increased exception verbosity of last mentioned exception by adding original exception. Please try to reproduce and add new exception log as attachment. http://websvc.netbeans.org/source/browse/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceGenerator.java?r1=1.33&r2=1.34
Created attachment 27093 [details] here it is... (ide log with next exception - NPE)
I just had a BYO laptop web services workshop with some customers yesterday (and have another tomorrow, and yet another next week), and this bug was a problem. we had 10 people in yesterday's workshop, and 4 systems showed the problem: 3 XP and one Linux. Note that it was not consistent on those machines - sometimes, by exiting the IDE and trying again, it worked. Not good.
Fixed last exception - please verify, I am not able to reproduce it. http://j2ee.netbeans.org/source/browse/j2ee/utilities/src/org/netbeans/modules/j2ee/common/JMIUtils.java?r1=1.20&r2=1.21 http://websvc.netbeans.org/source/browse/websvc/dev/nbproject/project.xml?r1=1.19&r2=1.20 http://websvc.netbeans.org/source/browse/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceGenerator.java?r1=1.34&r2=1.35 http://ide.netbeans.org/source/browse/ide/golden/deps.txt?r1=1.258&r2=1.259
Now it works fine on my box. Will verify again in next daily build.
*** Issue 69295 has been marked as a duplicate of this issue. ***
*** Issue 69385 has been marked as a duplicate of this issue. ***
v. in 200511271900
*** Issue 70436 has been marked as a duplicate of this issue. ***
*** Issue 71142 has been marked as a duplicate of this issue. ***
*** Issue 71298 has been marked as a duplicate of this issue. ***