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 94513 - Should add a confirmation dialog for JBI -> Service Engines "uninstall" activity
Summary: Should add a confirmation dialog for JBI -> Service Engines "uninstall" activity
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Manager (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 20:57 UTC by _ hong_lin
Modified: 2007-02-17 00:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2007-02-05 20:57:26 UTC
Build: Gavotte daily build 070202_29.
jdk: 1.5.0_9

Steps to reproduce it:
1. Start IDE.
2. Start Sun Java System Application Server.
3. Expand JBI node under it.
4. Start JavaEEServiceEngine and BPEL Service Engine.

Both of them are started. But the following NPE is found in the server.log file:
[#|2007-02-05T11:25:27.656-0800|WARNING|sun-appserver9.1|com.sun.jbi.component.com.sun.bpelse-1.0-2com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl|_ThreadID=42;_ThreadName=com.sun.bpelse-1.0-2;_RequestID=6af39f19-5a3a-4d43-bab3-91b0a54835db;|Not
able to disable debugger
java.lang.NullPointerException
	at
com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.preShutdown(EngineImpl.java:941)
	at com.sun.jbi.engine.bpel.BPELSELifeCycle.shutDown(BPELSELifeCycle.java:294)
	at
com.sun.jbi.framework.ComponentFramework.shutdownComponent(ComponentFramework.java:1336)
	at
com.sun.jbi.framework.ComponentFramework.shutdownComponent(ComponentFramework.java:1264)
	at com.sun.jbi.framework.ComponentOperation.process(ComponentOperation.java:235)
	at com.sun.jbi.framework.Operation.run(Operation.java:102)
	at java.lang.Thread.run(Thread.java:595)
|#]
Comment 1 _ hong_lin 2007-02-08 22:20:35 UTC
Build: Gavotte milestone build 6

Steps to reproduce it:

1. Start IDE.
2. Start App Server.
3. Expand JBI -> Service Engines
4. Select any service engine node, right-click, select "uninstall" from the
contectual menu.
5. The Service Engine is uninstalled without confirmation. User may select the
item by mistake.

Comment 2 Jun Qian 2007-02-09 01:06:50 UTC
The NPE should be filed against BPEL SE.

For the confirmation dialog, we can add it for FCS. I don't think this is a P1
defect though. I am changing it to P3 enhancement for now.
Comment 3 _ hong_lin 2007-02-09 01:17:49 UTC
Regarding the NPE: Thanks, I will log a bug against BPEL SE.

The cofirmation dialog: I disagree with you, unless you can provide a workaround
to reinstall the SE. In my case, I have to uninstall the Enterprise Pack and
reinstall it again. Which is not ok.
Comment 4 _ hong_lin 2007-02-09 01:26:17 UTC
Sorry, I tried to file a new bug, but I actually just added it on top of an
older bug, which may confused you. Please ignore the first part, the NPE issue.
Thanks.
Comment 5 Jun Qian 2007-02-09 01:37:05 UTC
I was told that even if one uninstalls a JBI component, one can still find the
zip file somewhere in the appserver's jbi directory. If that is the case, then
there is no need for you to reinstall the whole Enterprise Pack if you want to
bring back the un-installed JBI component.

That being said, I think it's probably not an uninstallation confirmation dialog
issue. A user might want to temporarily uninstall some JBI component for
whatever reason. The real issue is from where to bring it back. Maybe the JBI
runtime should provide a well-known directory for uninstalled components?
Comment 6 Jun Qian 2007-02-16 00:34:53 UTC
Added confirmation dialog when uninstalling components.
Comment 7 _ hong_lin 2007-02-17 00:05:45 UTC
Verified the fix is in build 070216_2