|
From: Charles R. <cr...@ri...> - 2002-02-22 03:31:32
|
It sounds like you might have an earlier version of drjava-- I think
that might be a bug that has been fixed since then. Try updating your
source on Owlnet. Also, you can run "ant jar" from within the
src/edu/rice/cs/drjava directory and just copy over the jar file to save
some time. Let me know if that helps...
(I'm not sure on the rmic error, I'll check into that.)
Charlie
Christian Westbrook wrote:
> I'm trying to run DrJava on my redhat 7.2 box; I still can't get it to
> compile (get: BUILD FAILED, ~/sf/src/edu/rice/cs/drjava/build.xml:61:
> Couldn't guess rmic implementationcompile here.
>
> But I compiled on Owlnet then downloaded the classes...only things don't
> seem quite right. When I open a file after DrJava starts, I get a
> NullPointerException. (trace below). On the other hand, if I don't do
> that, and go ahead and type out a basic class definition and save and
> compile it, everythings fine. But, doing something as simple as
> changing the c in "class Foo {" to an uppercase C causes a
> NullPointerException too (similar trace), even though the compiler error
> comes up and DrJava even highlights everything correctly.
>
> Are these NPEs normal and just to be disregarded, or is something funky
> with my setup somehow? I get similar behavior with both j2sdk1.4.0 and
> jdk1.3.1_02
>
> the exception:
>
> java.lang.NullPointerException
> at
> javax.swing.AbstractButton$ButtonActionPropertyChangeListener.propertyChange(AbstractButton.java:1160)
>
> at
> edu.rice.cs.util.swing.DelegatingAction.setDelegatee(DelegatingAction.java:145)
>
> at
> edu.rice.cs.drjava.ui.MainFrame._switchDefScrollPane(MainFrame.java:946)
> at edu.rice.cs.drjava.ui.MainFrame.access$2000(MainFrame.java:63)
> at
> edu.rice.cs.drjava.ui.MainFrame$ModelListener.activeDocumentChanged(MainFrame.java:1011)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel$1.notifyListener(SingleDisplayModel.java:461)
>
> at
> edu.rice.cs.drjava.model.DefaultGlobalModel.notifyListeners(DefaultGlobalModel.java:1213)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel._setActiveDoc(SingleDisplayModel.java:458)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel.access$300(SingleDisplayModel.java:90)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel$SelectionModelListener.valueChanged(SingleDisplayModel.java:482)
>
> at
> javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
>
> at
> javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
>
> at
> javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
>
> at
> javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
>
> at
> javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
>
> at
> javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel.setActiveDocument(SingleDisplayModel.java:196)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel.setActiveDocument(SingleDisplayModel.java:180)
>
> at
> edu.rice.cs.drjava.ui.SingleDisplayModel.openFile(SingleDisplayModel.java:356)
>
> at edu.rice.cs.drjava.ui.MainFrame._open(MainFrame.java:433)
> at edu.rice.cs.drjava.ui.MainFrame.access$100(MainFrame.java:63)
> at
> edu.rice.cs.drjava.ui.MainFrame$4.actionPerformed(MainFrame.java:140)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
> at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
>
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
>
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
> at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
>
> at
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
> at java.awt.Component.processMouseEvent(Component.java:5021)
> at java.awt.Component.processEvent(Component.java:4818)
> at java.awt.Container.processEvent(Container.java:1380)
> at java.awt.Component.dispatchEventImpl(Component.java:3526)
> at java.awt.Container.dispatchEventImpl(Container.java:1437)
> at java.awt.Component.dispatchEvent(Component.java:3367)
> at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
> at java.awt.Container.dispatchEventImpl(Container.java:1423)
> at java.awt.Window.dispatchEventImpl(Window.java:1566)
> at java.awt.Component.dispatchEvent(Component.java:3367)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
>
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
>
>
>
> ... Christian
>
>
> _______________________________________________
> drjava-hackers mailing list
> drj...@li...
> https://lists.sourceforge.net/lists/listinfo/drjava-hackers
>
> .
>
|