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 130769 - ISE during switch from design to source
Summary: ISE during switch from design to source
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: Designer (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: bhate
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2008-03-21 13:57 UTC by Lukas Jungmann
Modified: 2008-03-21 20:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (85.47 KB, text/plain)
2008-03-21 13:58 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-03-21 13:57:26 UTC
IDE:

>Log Session: Friday, March 21, 2008 8:41:34 AM CET
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 200803210006)
  Operating System        = Linux version 2.6.20-15-generic running on i386
  Java; VM; Vendor        = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_04-b12
  Java Home               = /space/jdks/jdk1.6.0_04/jre
  System Locale; Encoding = en_US (nb); UTF-8

Test:
 WSValidation

steps in test:
 -create new web service in a web project
 -check created nodes in project UI
 -switch from design to source view

=>
java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.core.multiview.MultiViewCloneableTopComponent throws
runtime exception from its componentShowing() method.
Please repair it! Probable cause is at
org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:202)
	at org.openide.windows.WindowManager.logThrowable(WindowManager.java:361)
...
at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:428)
	at org.netbeans.modules.websvc.design.multiview.MultiViewSupport.viewInSwingThread(MultiViewSupport.java:185)
	at org.netbeans.modules.websvc.design.multiview.MultiViewSupport.access$000(MultiViewSupport.java:75)
	at org.netbeans.modules.websvc.design.multiview.MultiViewSupport$1.run(MultiViewSupport.java:176)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
...
Caused by: java.lang.AssertionError: MultiViewElement class
org.netbeans.modules.websvc.design.multiview.SourceMultiViewElement returns null as toolbar component.
	at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:202)
	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119)
	at org.openide.windows.WindowManager.componentShowing(WindowManager.java:330)

note that there were made important changes in CloneableEditorSupport itself (to improve performance among other things)
Comment 1 Lukas Jungmann 2008-03-21 13:58:12 UTC
Created attachment 58838 [details]
ide log
Comment 2 bhate 2008-03-21 20:22:26 UTC
This seems to be fixed by Jarda's (Tulach) checkin bff1974ad0e4 (CloneableEditor).
Marking worksforme.