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.
"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.
Created attachment 31444 [details] Log file
Created attachment 31446 [details] snapshot1
Created attachment 31447 [details] snapshot2
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)
NPE has been fixed after issue 80439 has been fixed. Now only the ClassCastException remains as in the original description.
The remaining ClassCastException is no longer seen. I think this was fixed by Denis .
bug Verified on:060905 coke build Verification steps: 1.As per instructions created .bPel fine in BPEL module & verified the bug by deleting it.