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 18259 - xerces Makefile does not exist
Summary: xerces Makefile does not exist
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Other Other
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-02 12:24 UTC by Dennis Daniels
Modified: 2007-09-26 09:14 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 Dennis Daniels 2001-12-02 12:24:49 UTC
Please forgive if this is a duplicate.
I downloaded 3.2.1 and launched a java project from a clean CVS. This is the 
error that I got.
The support people for the other appliation say that's my environment. What do 
you think?

Sun Dec 02 13:15:35 CET 2001: org.openide.util.RequestProcessor$Holder: Posted 
StackTrace
Annotation: No file named javax/xml/parsers/Makefile exists on disk in 
xerces.jar.
Therefore it may not be compiled with an external compiler.
You may need to check it out from version control or save some changes to it.
org.openide.util.RequestProcessor$Holder: Posted StackTrace(task 
org.netbeans.core.ModuleActions$1@34e680 [-36470, 1, -1])
        at org.openide.util.RequestProcessor$Task.createHolder
(RequestProcessor.java:322)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:73)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:89)
        at org.openide.awt.Actions$ButtonBridge.actionPerformed
(Actions.java:351)
        at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1450)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1504)
        at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:378)
        at org.openide.awt.EnabledButtonModel.setPressed
(EnabledButtonModel.java:83)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:216)
[catch] at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:230)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:914)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:131)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Svata Dedic 2001-12-03 08:46:23 UTC
The exception trace has two parts - this and the immediately 
following exception trace (that later one, which is not attached, 
can identify the culprit). Could you please attach the missing part ?
OTOH the external compiler was trying to convert a file within a JAR 
into java.io.File to pass to the compiler binary, but it's only a 
guess.
Comment 2 Dennis Daniels 2001-12-03 14:10:22 UTC
I presume you want the ide.log?
Well, I tried compiling the application under NB 3.2.1 again, twice, 
to have a duplicate stack trace...but when I opened 
netbeans/system/ide.log
this is what I got

Version = NetBeans 3.2.1

I have copied and pasted ide.logs in the past but there's nothing in 
the trace.

I've have made a tutorial of this (unfortunate) event. Maybe it will 
help you? I could send it to you as a viewlet.


And the ICE secret entry to ide.log does not work ...
cheers
Dennis
Comment 3 Svata Dedic 2001-12-03 15:35:07 UTC
The ide.log is in your netbeans user/system/ide.log directory, where
the user settings are stored. If you use Win 9x, you may need to
shutdown NetBeans prior to opening the log (winOS has some problems
reading files, which are still opened for writing).
What about that "secret entry" ?
Comment 4 Dennis Daniels 2001-12-04 08:54:26 UTC
I did as you suggested and shut down NB after completing manips. 
There IS NO change to the IDE Log! This is beginning to worry me now.
Ideas? I know it used to work!
And this xerces jar thing is beginning to bother me as well...


here's the classpath
set classpath=.;C:\jdk1.3.1\bin
;set classpath=.;C:\jdk1.3.1\jre\bin
;set classpath=.;C:\jdk1.3.1\lib\tools.jar
;set classpath=.;C:\argo\argouml\lib\ant.jar
#;set classpath=.;C:\argo\argouml\lib\xerces.jar
;set classpath=.;C:\argo\argouml\lib
;set ANT_HOME=.;"C:\ant" 

set JAVA_HOME="C:\jdk1.3.1"

I try commenting out xerces.jar as well but no change.

the secret ide.log access? 
Just the faqs sir, just the faqs.

How to display the IDE's log file 
When I submit bugs or feature requests, how can I have the log file 
accessible from within the IDE?
There is a semisecret way to do this in the IDE's browser. Open the 
internal browser, and enter the following URL: 

        nbfs:/SystemFileSystem/ide.log

but it didn't work for me!

Comment 5 Svata Dedic 2001-12-04 09:18:20 UTC
Then you're probably the only one who can't see what's in the log.
Sorry for stupid questions but are you looking into the correct
userdir ? What OS do you use ?
Comment 6 Dennis Daniels 2001-12-04 09:41:34 UTC
Hello,
I can see in the log! netbeans/system/ide.log
and here's what is inside

"Version = NetBeans 3.2.1"
almost nothing

This is after playing with NB for awhile too! Something is definitely 
wrong.

Win 98SE
512 RaM
800 mghz 

Any ideas? I've uninstalled and reinstalled already and I need 3.2.1 
for my 3rd party modules...
Poseidon UML (gentleware.com)
please help!
Dennis
Comment 7 Svata Dedic 2001-12-04 11:06:49 UTC
Well, there should definitely be something more than almost nothing
:-) since all such exception traces as you're filed here are copied to
the log in addition to the exception dialog.

Please open a console, go to your netbeans directory and execute
"runide.exe" (not runidew.exe!). It should write some messages, with
"System info" header. It will start with Product vesion and end with
list of installed modules. There's a line "IDE Install; User Dir:"
Please be sure that you're looking into a logfile from the second
directory (the userdir). The IDE has to log its startup message in
there and if you encounter ANY exception their stacktraces should be
logged there as well.
Comment 8 Dennis Daniels 2001-12-04 15:39:21 UTC
I tried the runide.exe but being DOS I can't read much of it.

I did a search for all logs.
ide.log is still only showing version number.
However in looking at the install.log I see something that gives me 
pause

'Version found in ide.log is not coresponding with versions in 
versions.upg file.'

okay, so I searched for .upg and found nothing.

I had 3.3.beta 5 installed before.
I had deleted the whole netbeans folder before installing 3.2.1 so 
there must be some .dll or something lingering.

perhaps, NB thinking that I'm using a different version doesn't know 
where to put ide.log?

Either way, I'm still getting same old xerces error.

Ideas?

here's the install log

Starting NetBeans 3.2 installation...

Dialog installation.

Checking requirements...

Dialog sequence...

Welcome...

Ask for JVM directory.

Checking old versions...



Trying to check old versions.



No previous version found.

Destination directory...



Asking destination directory ...

Check selected path...

Checking old files...



Checking all dirs and files in the c:\netbeans directory...

     System directory is not empty.

Some directories are uninstalled and system directory is present.

Ide.log present -> trying to get version of previous installetion.



Getting version...

Line vith product version found in the ide.log file.

Version found in ide.log is not coresponding with versions in 
versions.upg file.

Result = 

Installer has found some files from previous installation -> ask user 
if upgrade...
<<<<<<<<<it didn't ask me anything>>>>>>>>>>>>>


Asking destination directory ...

Check selected path...

Checking old files...


Checking all dirs and files in the c:\netbeans directory...

     System directory is not empty.

Some directories are uninstalled and system directory is present.

Ide.log present -> trying to get version of previous installetion.

<<<<<<<<typo installation>>>>>>>>>>>>

Getting version...

Line vith product version found in the ide.log file.

Version found in ide.log is not coresponding with versions in 
versions.upg file.
<<<<<<<<<<<<problem here?>>>>>>>>>>>>>>


Result = 

Installer has found some files from previous installation -> ask user 
if upgrade...

User wants to upgrade.
<<<<<<<<again, it did not ask if I want to upgrade>>>>>>>>>>
Trying to backup...



Trying to backup files...

Get the backup directory...

Trying to backup from c:\netbeans\*.* to c:\backup_netbeans...

Backuping successful prepare directory for upgrade...



Preparing directory for upgrading...

File ide.log found.

Preparing done

Backup and preparing done.

OS = 6
OSMAJOR = 4
OSMINOR = 10
Ask for associating.
Asking for association...
.nbm files registered with c:\netbeans\openfile.bat
.java files registered with c:\netbeans\openfile.bat
Show start copy panel.
Source files copied.
First dialog section successfuly end. Copy files to system...
ide.cfg configuration file created
Script openfile.bat created.
Setting up registry...
Associating files...
Associating java files...
Associating nbm files...
Installation complete.
Comment 9 Svata Dedic 2001-12-04 18:15:38 UTC
Please, *do* run the runide.exe and *do* read both what's printed to
the console AND what I've written.
One of the lines, which are printed out quite early, so you may hit
"pause" button to stop further lines to scroll that away, says "IDE
Install; User Dir". I'm asking you to read that line because it
clearly shows where the IDE *thinks* it should store the logfile.

NetBeans are a Pure Java application - that means *no* DLL (except the
mousewheel module, ok). There may be a key in the windows Registry,
which records location of your userdir - the new installation may be
using that.
Note that the NetBeans' "userdir" is probably *different* from the
directory where the installation, containing the "runide.exe" resides
(or from is parent dir).

Unless you locate and post the relevant information, I'll have to
close the bug in day or two.
Comment 10 Svata Dedic 2001-12-10 09:17:04 UTC
Unless there's more information (== stacktrace of the poblem, the
posted stacktrace shows only a wrapper for the real action), closing
as worksforme. It's not obvious which action has trigerred the error
at all so there's no clue what to check.
Comment 11 Quality Engineering 2003-07-01 13:11:08 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 12 Quality Engineering 2003-07-01 13:14:46 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.