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 8710 - Compiler cannot be set as Default -- NullPointerException
Summary: Compiler cannot be set as Default -- NullPointerException
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-01 16:43 UTC by pzajac
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 pzajac 2000-12-01 16:43:28 UTC
I don't know when was set Compiler of java sources to default.
After change type of compiler compilation was done without problems.
It is better check compiler type before compilation.

Exception StackTrace:
java.lang.NullPointerException
        at org.openide.loaders.CompilerSupport.addToJob(CompilerSupport.java:74)
        at
org.openide.actions.AbstractCompileAction.createJob(AbstractCompileAction.java:189)
        at
org.openide.actions.AbstractCompileAction$1.run(AbstractCompileAction.java:112)
        at
org.openide.actions.AbstractCompileAction.compileNodes(AbstractCompileAction.java:138)
        at
org.openide.actions.AbstractCompileAction.performAction(AbstractCompileAction.java:49)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:93)
        at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:84)
        at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:67)
at
org.openide.util.Task.run(Task.java:124)
at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
org.openide.util.RequestProcessor$Holder(task
org.netbeans.core.ModuleActions$1@16032 [-218,
1])
at
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:275)
at
org.openide.util.RequestProcessor.post(RequestProcessor.java:99)
at
org.openide.util.RequestProcessor.post(RequestProcessor.java:72)
at
org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:65)
at
org.netbeans.core.windows.MultiTabContainer$FocusMan.processKeyStroke(MultiTabContainer.java:1385)
at
org.netbeans.core.windows.MultiTabContainer$3.run(MultiTabContainer.java:1339)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:331)
at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Svata Dedic 2000-12-05 07:51:59 UTC
I bet you have installed a new build with no symlink to the fastjavac so it was
removed from Compiler Types during startup although still set as Default
Compiler. Similar bug is being solved as #8759
Comment 2 Svata Dedic 2001-01-22 08:27:59 UTC
I could not reproduce the problem; it is possible that there was some bug, but
was fixed when solving other problems. Please reopen the bug, if you encounter
the behaviour again.
Comment 3 pzajac 2002-10-11 13:57:45 UTC
verified.
Comment 4 Quality Engineering 2003-07-01 13:20:49 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.