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 175698 - NPE happens in WSDL while undoing
Summary: NPE happens in WSDL while undoing
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 18:15 UTC by Nikita Krjukov
Modified: 2009-12-14 12:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE stack trace (4.85 KB, text/plain)
2009-10-29 18:17 UTC, Nikita Krjukov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2009-10-29 18:15:37 UTC
Steps to reproduce: 
-- Create a WSDL file anywhere
-- Create a new PortType 
-- Undo
-- Redo
-- Undo
-- NPE happens (see attachment)

I tried eliminate all redundant actions to narrow conditions. So the steps can be complicated a bit:
-- Create a WSDL file anywhere
-- Create a new Message 
-- Specify type for the new message's part 
-- Create a new PortType, 
   -- select One-Way operation type, 
   -- chose the new message from the list
   -- switch off check-box "Generate partnerLink automatically"
   -- after such steps only new port type is generated!
-- Undo
-- Redo
-- Undo
-- NPE happens
Comment 1 Nikita Krjukov 2009-10-29 18:17:34 UTC
Created attachment 90227 [details]
NPE stack trace
Comment 2 Nikita Krjukov 2009-10-29 18:24:42 UTC
It seems the exception comes to the WSDL model becomes unstable and later it comes to another strange effects with
Undo/Redo. Though I'm not sure that the problems are caused by the reason.  

The issue happens in release67_fixes branch as well.