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 178550 - NullPointerException at org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.getCasaPort
Summary: NullPointerException at org.netbeans.modules.compapp.casaeditor.model.casa.Ca...
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-13 18:54 UTC by jxstanford
Modified: 2009-12-13 18:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 61729


Attachments
stacktrace (2.91 KB, text/plain)
2009-12-13 18:54 UTC, jxstanford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jxstanford 2009-12-13 18:54:43 UTC
Build: NetBeans IDE 6.7.1 (Build 200912112133)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X, 10.6.2, x86_64

User Comments:
GUEST: Created a SQL module which returns result of select query. 

Tried to include this SQL module in CAP project. While building the CAP project, I got Nullpointer exception.

jxstanford: I was trying to delete WSDL ports from the CASA editor.  The events that led up to this were:

	1. Replace referenced resource (WSDL) in a BPEL module project
	2. Delete the JBI module for the project from the service assembly via CASA editor
	3. Attempt to delete a WSDL port

After step one, there are several orphaned WSDL ports in the composite app.  It would be really nice to have a simple way to clean all that up.  As it is, I need to clean them manually.  I've never experience this problem before, but I've also never tried deleting the JBI module.

GUEST: After clicking on SVN -> Revert local changes

GUEST: Trying to manually correct wsdl file.



Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.getCasaPort(CasaWrapperModel.java:2150)
   at org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.removeConnection(CasaWrapperModel.java:1007)
   at org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel.removeCasaPort(CasaWrapperModel.java:1824)
   at org.netbeans.modules.compapp.casaeditor.nodes.actions.NodeDeleteAction$DeleteVisitorCasa.visit(NodeDeleteAction.java:121)
   at org.netbeans.modules.compapp.casaeditor.model.casa.impl.CasaPortImpl.accept(CasaPortImpl.java:71)
   at org.netbeans.modules.compapp.casaeditor.nodes.actions.NodeDeleteAction.delete(NodeDeleteAction.java:83)
Comment 1 jxstanford 2009-12-13 18:54:48 UTC
Created attachment 92482 [details]
stacktrace