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.
Build200708130000,JDK1.6.0_02.Vista Bussiness Open in IDE StockService or StockClient Identity Blueprints samples - there're server problems icons,even if Glassfish v2 installed by default.You have to Resolve Server Problems in order to fix this.
I meant reference problems,not server.
I believe this is because the sample project is originally created to use an appserver instance with a different name.
Just checked in a fix for this into NB 6 trunk. There is no more missing reference problem.
References are fixed,but now both samples opens with exception: java.lang.AssertionError: Missing file null at org.netbeans.api.project.ant.AntBuildExtender.readProjectMetadata(AntBuildExtender.java:212) at org.netbeans.api.project.ant.AntBuildExtender.getExtensions(AntBuildExtender.java:149) at org.netbeans.api.project.ant.AntBuildExtenderAccessorImpl.getExtensions(AntBuildExtenderAccessorImpl.java:50) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.applyBuildExtensions(GeneratedFilesHelper.java:417) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.access$400(GeneratedFilesHelper.java:74) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1$1.run(GeneratedFilesHelper.java:288) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:98) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:477) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:257) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:251) at org.openide.util.Mutex.writeAccess(Mutex.java:357) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:250) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:757) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:754) at org.openide.util.Mutex.writeAccess(Mutex.java:357) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:753) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:732) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:163) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:646) at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:689) at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:337) at org.netbeans.modules.project.ui.OpenProjectList.access$100(OpenProjectList.java:87) at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:237) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Attaching messages.log
Created attachment 47337 [details] messages.log
I believe this is a bug introduced to the web project recently. I've seen it happen with a newly created project. However, I think this issue has already been fixed using a later build. I am closing this as worksforme and please verify with a later build.
Sorry for reopaning, I can reproduce the issue on the latest build 08/28. Environment Linux jdk1.5 GlassFish build 55 with AM installed I got exactly the same stack trace.
It turns out the project.properties for the client sample contains references to the jsr311 library which is only available on the update center. I removed it and the project opens fine. BTW, I wasn't able to reproduce the problem for the Stock Service sample. I've tested this with the latest NB build. Hopefully, this is issue is completely resolved.
Still reproducible in build 200709030000 for both samples.StockService throws only exception,but StockClient throws one more exception and then hangs up IDE (cursor set to working,but I waited 10 minutes and nothing happened. Second exception: java.lang.IllegalArgumentException: Project StockQuoteClient is not open and cannot be set as main. at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:480) at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:190) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Hi Jarda, We need your approval to get this issue fixed for beta1. In our opinion, this is a stopper because users cannot create the sample application for identity. Thanks.
From my one beta1 build, I wasn't able to reproduce the problem. Do you see any other error message in the log file? I'll try downloading the actual beta1 bits and try it again tomorrow.
I agree,in beta1 build 200709041200 this seems to be already fixed.Verifiing.
Reopening,since still reproducible in trunk builds. In Beta1 it seems fixed,but I don't see how there could be any fix,which isn't in trunk and is in beta1,since fixing process works in opposite direction.This must be fixed in both branches,before we could consider it done.
Since this problem no longer exist in beta1, should we move the target milestone to beta2? I just want to make sure this bugs moves off of the dashboard.
I agree,changing the milestone.
Hudson trunk build #3145 still contains this issue. In case of StockQuoteService exception doesn't prevent building and depolying the sample,however StockQuoteClient after both exceptions mentioned upper makes IDE stucks in endless try to open the sample and it has to bereopen in order to end this.After reopening of IDE, StockQuoteClient sample isn't still opened. This happens even if first sample is successfully deployed and server running. From this reason I'm raising priority to P1.
So I've found thanks to jungi,that reason, for what I'm unable to reproduce this issue in Beta 1 is,that in beta's there's disabled displaying of AssertionExceptions . If I remove "-J -ea" in netbeans.conf in trunk build,result is the same as in Beta1 build and I can't reproduce it anymore. Decreasing priority again.
I just tried it with the latest trunk build with the -J -ea option and I couldn't reproduce the problem. Both the server and client projects are created and built successfully. Changing the resolution to worksforme.
Just reproduced with hudson build 3469 (20070924075740). Exceptions are displayed with missing files names this time, problem however remains the same.The hang-up during StoctQuoteClient opening is very annoying. java.lang.AssertionError: Missing file jaxws-build.xml for extension jaxws at org.netbeans.api.project.ant.AntBuildExtender.readProjectMetadata(AntBuildExtender.java:212) at org.netbeans.api.project.ant.AntBuildExtender.getExtensions(AntBuildExtender.java:149) at org.netbeans.api.project.ant.AntBuildExtenderAccessorImpl.getExtensions(AntBuildExtenderAccessorImpl.java:50) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.applyBuildExtensions(GeneratedFilesHelper.java:417) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.access$400(GeneratedFilesHelper.java:74) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1$1.run(GeneratedFilesHelper.java:288) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:98) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:477) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:257) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$1.run(GeneratedFilesHelper.java:251) at org.openide.util.Mutex.writeAccess(Mutex.java:357) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.generateBuildScriptFromStylesheet(GeneratedFilesHelper.java:250) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:757) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper$3.run(GeneratedFilesHelper.java:754) at org.openide.util.Mutex.writeAccess(Mutex.java:357) at org.netbeans.spi.project.support.ant.GeneratedFilesHelper.refreshBuildScript(GeneratedFilesHelper.java:753) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:737) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:171) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:59) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:650) at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:695) at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:339) at org.netbeans.modules.project.ui.OpenProjectList.access$100(OpenProjectList.java:88) at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:239) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) java.lang.IllegalArgumentException: Project StockQuoteClient is not open and cannot be set as main. at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:482) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:190) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
I added the jaxws-build.xml back into the sample to avoid the assertion error. The fix is checked into trunk.
VERIFIED in build 20070925142838
Reproducible again in Beta 2 and trunk (Hudson 4022). I got AssertionError and StockQuoteService-war isn't opened. AssertionError same as the latest one here - most probably caused by removing jaxws-build.xml . I suggest to fix it same way,as in previous case.
Compiling 2 source files to C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\build\web\WEB-INF\classes C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:45: package com.sun.stockquote does not exist import com.sun.stockquote.PriceType; C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:46: package com.sun.stockquote does not exist import com.sun.stockquote.QuoteResponseType; C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:59: package com.sun.stockquote does not exist public class StockService implements com.sun.stockquote.StockQuotePortType { C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:69: package com.sun.stockquote does not exist public com.sun.stockquote.QuoteResponseType getStockQuote(com.sun.stockquote.QuoteRequestType body) { C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:69: package com.sun.stockquote does not exist public com.sun.stockquote.QuoteResponseType getStockQuote(com.sun.stockquote.QuoteRequestType body) { C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:70: cannot find symbol symbol : class QuoteResponseType location: class com.samples.StockService QuoteResponseType retVal = new QuoteResponseType(); C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:70: cannot find symbol symbol : class QuoteResponseType location: class com.samples.StockService QuoteResponseType retVal = new QuoteResponseType(); C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:83: cannot find symbol symbol : class PriceType location: class com.samples.StockService PriceType priceType = new PriceType(); C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\StockService.java:83: cannot find symbol symbol : class PriceType location: class com.samples.StockService PriceType priceType = new PriceType(); Note: C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\src\java\com\samples\LogHandler.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 9 errors C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\nbproject\build-impl.xml:364: The following error occurred while executing this line: C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService4\StockQuoteService4\StockQuoteService-war\nbproject\build-impl.xml:162: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 1 second)
Mentioned Beta2 build is the one from 17.10.2007 (09-44-20).
So this issue seems to be restricted on Trunk builds and Beta2 200710170700 zip. Otherwise there's only issue 119105.
The identity samples have been completely recreated from scratch. Closing this issue as fix. Please verify.
V.