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 126881 - AssertionError from xml.retriever.catalog.Utilities
Summary: AssertionError from xml.retriever.catalog.Utilities
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Designer (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
: 126328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-07 05:43 UTC by Winston Prakash
Modified: 2009-02-19 23:29 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 Winston Prakash 2008-02-07 05:43:13 UTC
Blocking issue. Happens all the time while working with Visual Web

java.lang.AssertionError
	at org.netbeans.modules.xml.retriever.catalog.Utilities._getDocument(Utilities.java:529)
	at org.netbeans.modules.xml.retriever.catalog.Utilities.access$000(Utilities.java:104)
	at org.netbeans.modules.xml.retriever.catalog.Utilities$1.getLookup(Utilities.java:635)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:77)
	at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:152)
	at org.netbeans.modules.xml.xam.AbstractModelFactory.getEffectiveAccessProvider(AbstractModelFactory.java:116)
	at org.netbeans.modules.xml.xam.AbstractModelFactory.getKey(AbstractModelFactory.java:108)
	at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel(AbstractModelFactory.java:129)
	at org.netbeans.modules.web.jsf.api.facesmodel.JSFConfigModelFactory.getModel(JSFConfigModelFactory.java:79)
	at org.netbeans.modules.web.jsf.api.ConfigurationUtils.getConfigModel(ConfigurationUtils.java:80)
	at org.netbeans.modules.visualweb.insync.models.FacesConfigModel.getManagedBeans(FacesConfigModel.java:103)
	at org.netbeans.modules.visualweb.insync.models.FacesModelSet.findDesignContexts(FacesModelSet.java:761)
	at org.netbeans.modules.visualweb.insync.live.BeansDesignProperty.toSource(BeansDesignProperty.java:187)
	at org.netbeans.modules.visualweb.insync.live.FacesDesignProperty.toSource(FacesDesignProperty.java:124)
	at org.netbeans.modules.visualweb.insync.live.BeansDesignProperty.setValue(BeansDesignProperty.java:404)
	at org.netbeans.modules.visualweb.insync.live.FacesDesignProperty.setValue(FacesDesignProperty.java:237)
	at org.netbeans.modules.visualweb.insync.Util.updateLocalStyleValuesForElement(Util.java:1124)
	at
org.netbeans.modules.visualweb.designer.jsf.JsfSupportUtilities.updateLocalStyleValuesForElement(JsfSupportUtilities.java:149)
	at org.netbeans.modules.visualweb.designer.jsf.text.DomDocumentImpl.moveComponents(DomDocumentImpl.java:1925)
	at org.netbeans.modules.visualweb.designer.Dragger.mouseReleased(Dragger.java:388)
	at org.netbeans.modules.visualweb.designer.InteractionManager$MouseHandler.mouseReleased(InteractionManager.java:2575)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	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)
Comment 1 Winston Prakash 2008-02-07 18:23:32 UTC
I think this is related to 

http://www.netbeans.org/issues/show_bug.cgi?id=126935

When 126935 happens, the Default System File System gets corrupted and 
org.netbeans.modules.xml.retriever.catalog could not find the
entity catalog defined in the File System, thus throwing exception.

Comment 2 Samaresh Panda 2008-02-07 18:46:53 UTC
*** Issue 126328 has been marked as a duplicate of this issue. ***
Comment 3 Samaresh Panda 2008-02-07 18:53:04 UTC
Is there a way to reproduce this? Krystyna also reported the same, but no way to reproduce. Sounds like something is
getting corrupted.
Comment 4 Samaresh Panda 2008-02-28 05:59:52 UTC
Sorry, I've not been able to reproduce this yet.
Comment 5 Exceptions Reporter 2008-10-17 19:27:33 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810170201)
http://statistics.netbeans.org/exceptions/detail.do?id=129814
Comment 6 Exceptions Reporter 2008-10-17 19:28:29 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810170201)
http://statistics.netbeans.org/exceptions/detail.do?id=129815
Comment 7 Samaresh Panda 2008-10-17 19:47:44 UTC
rajivderas, pl. tell us how to reproduce. If you just give me the stack trace, I cannot do anything about it. This error
suggests wrong usage of the API.
Comment 8 rajivderas 2008-10-17 20:02:29 UTC
steps:
1) Create the sample StockQuoteService
2) Right click the stock service ws file and select add operation
3) In add operation dialog box click import xml schema
4) In add schema dialog click the add button
5) In the Select schema bean tree dialog expand the tree and double click org.netbeans.identity.samples package and 
press ok

using Dev Build 200810170201
Comment 9 Samaresh Panda 2008-10-17 20:23:21 UTC
Ditto issue 150552. The dialog shouldn't allow folders and all sorts of files as input.
Comment 10 Jaroslav Pospisil 2008-12-02 09:54:01 UTC
Decreasing priority to P3,since this isn't major scenario.Issue happens only as result of user error.
Comment 11 Milan Kuchtiak 2008-12-09 09:28:04 UTC
Planning to remove Add Operation Dialog for web services yoked (created from) WSDL file.
More natural scenario is to modify WSDL using WSDL editor, then use Refresh service action. 
Comment 12 Milan Kuchtiak 2008-12-09 16:06:55 UTC
Fixed.
See the issue 122687.