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 123613

Summary: different absolute Path in mac & XP
Product: xml Reporter: haglo <haglo>
Component: WSDL ToolsAssignee: Shivanand Kini <skini>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Logfile_1
Logfile_2
the project without folder build

Description haglo 2007-12-07 08:30:06 UTC
Im am working with netbeans under mac OS X 10.4 and WinXP Professional. On both Plattforms I have installed netbeans 6.
I am programming an RCP.
First I have written the code in mac.
Then I tried to compile the code in WInXP.
In WinXP I get the following error:
*************************************************************************************
java.io.FileNotFoundException: \Users\alle\NetBeans\NetBeans
6.0.app\Contents\Resources\NetBeans\xml1\modules\org-netbeans-modules-xml-wsdlui.jar (Das System kann den angegebenen
Pfad nicht finden)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
	at java.util.jar.JarFile.<init>(JarFile.java:133)
	at java.util.jar.JarFile.<init>(JarFile.java:70)
	at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
	at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:674)
***************************************************************************************************

I have under mac and XP different pathes in the installation of netbeans.
I think the problems are absolute Settings of Pathes in the sourcecode of netbeansIDE.

Thanks
Comment 1 novakm 2007-12-11 09:54:43 UTC
Reassigning to core for evaluation
Comment 2 Lukas Hasik 2007-12-11 17:19:23 UTC
I cannot see anything related to core here.  Reassigning to XML where the jar belongs
Comment 3 Shivanand Kini 2007-12-11 18:14:11 UTC
Can you attach the full log? <userdir>\var\log\messages.log. 
<userdir> can be found from Netbeans top level menu, Help > About.

How is org-netbeans-modules-xml-wsdlui.jar involved in your project?
Comment 4 haglo 2007-12-12 08:16:45 UTC
Created attachment 54184 [details]
Logfile_1
Comment 5 haglo 2007-12-12 08:17:33 UTC
Created attachment 54185 [details]
Logfile_2
Comment 6 haglo 2007-12-12 08:21:02 UTC
Question: How is org-netbeans-modules-xml-wsdlui.jar involved in your project?
Answer:
In mac: \Users\alle\NetBeans\NetBeans6.0.app\Contents\Resources\NetBeans\xml1\modules\org-netbeans-modules-xml-wsdlui.jar 
In windows: C:\Programme\NetBeans 6.0\xml1\modules\org-netbeans-modules-xml-wsdlui.jar

Im am writing an Modul for the RPC-Platform-netbeans.
I have a suite and a module.
Comment 7 Shivanand Kini 2007-12-12 15:49:16 UTC
Thanks for your response.

Just a clarification, wherever the Netbeans is installed, the org-netbeans-modules-xml-wsdlui.jar would be in 
<netbeans dir>\xml1\modules\org-netbeans-module-xml-wsdlui.jar. So the absolute path is dependent on where the netbeans
is installed.

The log files did not help at all. Since I dont see those exceptions in there.
What can help me is, to know how does your module use wsdlui.jar? Have you added it as a library, and have used the
absolute path to add it?

Or some reproduceable steps that I can do on my machine would help.

Comment 8 haglo 2007-12-13 11:49:55 UTC
Created attachment 54224 [details]
the project without folder build
Comment 9 haglo 2007-12-13 11:55:29 UTC
I have netbeans installed in room A on mac OS X 10.4 
I have netbeans installed in room B on WInXP Prof
The project is on a networkfolder on the fileserver. 
I can connect in both rooms to this fileserver.
First I have creted the project on the mac (room A) and saved on the fileserver
One day later I wanted to work with winXP (room B) on the project.
I opened the project in winXP from the fileserver.
Then I get the problem described above.
Comment 10 Martin Balin 2016-07-07 09:56:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss