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 102100 - IAE due to Manifest.mf file
Summary: IAE due to Manifest.mf file
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 09:00 UTC by David Kaspar
Modified: 2007-04-24 06:33 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 David Kaspar 2007-04-23 09:00:23 UTC
When I try to add a dependency to the project, an IllegalArgumentException is
thrown:
SEVERE [org.openide.util.RequestProcessor]
java.lang.IllegalArgumentException: Parameter file was not normalized. Was
/Users/xxxxxx/Documents/NetBeansProjects/netbeans/visualweb/websvcmgr/manifest.mf
instead of
/Users/xxxxxx/Documents/NetBeansProjects/netbeans/visualweb/websvcmgr/Manifest.mf
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:508)
        at
org.netbeans.modules.apisupport.project.Util.findLocalizedBundleInfo(Util.java:401)
        at
org.netbeans.modules.apisupport.project.universe.ModuleList.loadBundleInfo(ModuleList.java:994)
        at
org.netbeans.modules.apisupport.project.universe.AbstractEntryWithSources.getBundleInfo(AbstractEntryWithSources.java:44)
        at
org.netbeans.modules.apisupport.project.universe.AbstractEntry.getCategory(AbstractEntry.java:61)
        at
org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.reloadModuleListInfo(SingleModuleProperties.java:773)
        at
org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.getUniverseDependencies(SingleModuleProperties.java:458)
        at
org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel$4.run(AddModulePanel.java:156)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)


The problem is that the "visualweb/websvcmgr" module contains manifest.mf file
with capital "M" (means "Manifest.mf"). This cause API support to refuse adding
project dependencies.
Comment 1 Jesse Glick 2007-04-24 06:13:19 UTC
For the actual exception:

Checking in Util.java;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/Util.java,v
 <--  Util.java
new revision: 1.47; previous revision: 1.46
done
Comment 2 Jesse Glick 2007-04-24 06:33:51 UTC
We'll see if this causes any issues for Windows users. If so, will need to kill
off Manifest.mf,v on the server, which would break any live branches of this module.

Checking in nbproject/project.properties;
/shared/data/ccvs/repository/visualweb/websvcmgr/nbproject/project.properties,v
 <--  project.properties
new revision: 1.3; previous revision: 1.2
done
RCS file: /shared/data/ccvs/repository/visualweb/websvcmgr/manifest.mf,v
done
Checking in manifest.mf;
/shared/data/ccvs/repository/visualweb/websvcmgr/manifest.mf,v  <--  manifest.mf
initial revision: 1.1
done
Removing Manifest.mf;
/shared/data/ccvs/repository/visualweb/websvcmgr/Manifest.mf,v  <--  Manifest.mf
new revision: delete; previous revision: 1.2
done