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.

Bug 180963 - Designer does not appear until the Web Services node is expanded
Summary: Designer does not appear until the Web Services node is expanded
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Designer (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
: 203730 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-19 06:57 UTC by Petr Jiricka
Modified: 2012-09-11 02:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-02-19 06:57:44 UTC
1. In a Java EE 6 web project, create a Java class
2. Add annotations such as @WebService and @WebMethod to change this class into a web service
3. Expand the Web Services node in the project explorer

=> At this point, editor tab with the Java class disappears, and when you reopen it, it contain the Design view. The bug is that this should happen immediately - I should not need to go to the Web Services node and expand it.
Comment 1 Denis Anisimov 2010-11-02 11:53:26 UTC
Still reproducible .
Comment 2 Denis Anisimov 2011-10-07 07:00:48 UTC
This is the consequence of "converting" Java mime-type into Jax-WS mime type .
It happens in two cases :
- When WS is just created . It is identified as JaxWS from very beginning . 
So there is no problem.
- It is marked as JaxWS when Jax-WS root node is expanded. Jax WS service children nodes are initialized as result of this action. Initialization changes mime-type of the file.

So to fix it one needs to listen changes in the project related to Jax-Ws creation. It should be done accurately because there are a number way to do this.
The appropriate way should be chosen to avoid memory leaks and it should be 
reusable for Maven projects also.
Postpone to the next release.
Comment 3 Denis Anisimov 2011-10-17 09:40:36 UTC
*** Bug 203730 has been marked as a duplicate of this bug. ***
Comment 4 Denis Anisimov 2012-09-10 17:15:15 UTC
web-main#75da9ee7919a
Comment 5 Quality Engineering 2012-09-11 02:20:46 UTC
Integrated into 'main-golden', will be available in build *201209110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/75da9ee7919a
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#180963 - Designer does not appear until the Web Services node is expanded , BZ#212262 - LowPerformance took 7828 ms. RecentFileAction.getIcon() -> JaxWsDataLoader -> FileOwnerQuery -> MavenEmbedder, BZ#217692 - Possible deadlock at CVS or background scanning