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 95481 - [MacOS]"Add JBI Module" throw java.lang.IllegalArgumentException
Summary: [MacOS]"Add JBI Module" throw java.lang.IllegalArgumentException
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 22:48 UTC by _ hong_lin
Modified: 2007-05-22 08:34 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-13 22:48:46 UTC
Build: Gavotte daily build 070212_24

Steps to reproduce it:
1. Create a Bpel Module BpelModule1.
2. Create a Composite Application CompositeApp1.
3. In Projects window, right click CompositeApp1 node, select "Add JBI Module" from the contextual 
menu.
4. Check the messages.log file, will find the following exception info:

java.lang.IllegalArgumentException: Parameter file was not normalized. Was Users/hong/
CompositeApp1/src/conf instead of /Users/hong/projects/Gavotte/builds/Users/hong/
CompositeApp1/src/conf
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:416)
        at org.netbeans.modules.compapp.projects.jbi.JbiProject$ProjectOpenedHookImpl$1.run
(JbiProject.java:597)
        at org.openide.util.Mutex.writeAccess(Mutex.java:320)
        at org.netbeans.modules.compapp.projects.jbi.JbiProject$ProjectOpenedHookImpl.projectOpened
(JbiProject.java:554)
        at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:56)
        at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:591)
        at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:632)
        at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:299)
        at org.netbeans.modules.project.ui.OpenProjectList.access$000(OpenProjectList.java:79)
        at org.netbeans.modules.project.ui.OpenProjectList$1.run(OpenProjectList.java:202)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 _ hong_lin 2007-02-13 22:53:21 UTC
The issue is not reproduced on Win XP platform.
Comment 2 Jun Qian 2007-02-15 20:49:07 UTC
Is there any functionality loss from the user's point of view?
Comment 3 _ hong_lin 2007-02-15 23:34:38 UTC
I created a Bpel Module, a Composite Application and a Web Service.
Add the Web Service into the Bpel Process. 
Create a test case in the compApp and the test pass, even though I still got the
exception.

I do not find any functionality loss so far.
Comment 4 Jun Qian 2007-02-16 00:43:32 UTC
In that case, can we downgrade it and fix it after beta?
Comment 5 _ hong_lin 2007-02-16 01:14:10 UTC
Sure. Downgraded to P3.
Comment 6 Jun Qian 2007-05-22 08:32:50 UTC
Fixed in NB 6.0 CB #807.
Comment 7 Jun Qian 2007-05-22 08:34:24 UTC
BTW, this problem was also observable on Solaris10 x86.