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 79316 - "java.lang.ClassCastException: java.lang.Integer" exception while deleting .bpel from project tree
Summary: "java.lang.ClassCastException: java.lang.Integer" exception while deleting .b...
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Praveen Savur
URL:
Keywords:
Depends on: 80439
Blocks:
  Show dependency tree
 
Reported: 2006-06-28 10:50 UTC by rpalukuru
Modified: 2006-09-15 06:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (1.39 KB, text/plain)
2006-06-28 10:53 UTC, rpalukuru
Details
snapshot1 (114.57 KB, application/octet-stream)
2006-06-28 10:55 UTC, rpalukuru
Details
snapshot2 (148.35 KB, application/octet-stream)
2006-06-28 10:55 UTC, rpalukuru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpalukuru 2006-06-28 10:50:12 UTC
"java.lang.ClassCastException: java.lang.Integer" exception while 
deleting .bpel file

Build Details:

 http://balui.sfbay.sun.com/kits/oriondev/main/cokemilestone14/

Steps to reproduce:

1. Create new SOA BPEL project
2. Right click on .bpel file and select "Delete" option, "confirm Object 
Deletion" dialog box will be displayed before deleting the file, click on "Yes"

Observed that .bpel file is deleting,but "java.lang.ClassCastException: 
java.lang.Integer" exception is thrown.

Note : Please find the log file and snapshot from attachments.
Comment 1 rpalukuru 2006-06-28 10:53:07 UTC
Created attachment 31444 [details]
Log file
Comment 2 rpalukuru 2006-06-28 10:55:20 UTC
Created attachment 31446 [details]
snapshot1
Comment 3 rpalukuru 2006-06-28 10:55:52 UTC
Created attachment 31447 [details]
snapshot2
Comment 4 Michael Frisino 2006-07-17 01:18:01 UTC
yes confirmed. very reproducible. ValidationController in stack trace

java.lang.NullPointerException
	at
org.openide.util.lookup.InstanceContent$SimpleItem.<init>(InstanceContent.java:150)
	at org.openide.util.lookup.SimpleLookup.<init>(SimpleLookup.java:47)
	at org.openide.util.lookup.Lookups.fixed(Lookups.java:75)
	at
org.netbeans.modules.xml.retriever.catalog.Utilities$1.getLookup(Utilities.java:595)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:55)
	at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:116)
	at
org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.getBaseDocument(AbstractDocumentModel.java:65)
	at
org.netbeans.modules.xml.xam.spi.XsdBasedValidator.validate(XsdBasedValidator.java:96)
	at
org.netbeans.modules.xml.xam.spi.XsdBasedValidator.validate(XsdBasedValidator.java:78)
	at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:73)
	at
org.netbeans.modules.bpel.core.validation.BPELValidationController$1$1.call(BPELValidationController.java:137)
	at
org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke(BpelModelImpl.java:223)
	at
org.netbeans.modules.bpel.core.validation.BPELValidationController$1.run(BPELValidationController.java:150)
	at java.util.TimerThread.mainLoop(Timer.java:512)
[catch] at java.util.TimerThread.run(Timer.java:462)
Comment 5 Praveen Savur 2006-07-18 03:39:03 UTC
NPE has been fixed after issue 80439 has been fixed.  Now only the
ClassCastException remains as in the original description.
Comment 6 Praveen Savur 2006-07-20 21:59:34 UTC
The remaining ClassCastException is no longer seen. I think this was fixed by
Denis .
Comment 7 pushpa 2006-09-15 06:46:26 UTC
bug Verified on:060905 coke build

Verification steps:
1.As per instructions created .bPel fine in BPEL module & verified the bug by
deleting it.