Working on a version for NetBeans 7.1

223 views
Skip to first unread message

Grant

unread,
May 3, 2012, 5:32:07 PM5/3/12
to enclojure
Hi, all.
I have managed to get Enclojure to compile under NB 7.1. (I have not
committed my changes.) I can install the plugin and the REPL works,
as does the syntax highlighting. I haven't tested it much, but the
most obvious problem is the Navigator.

yellow icon followed by a colon, and when I double-click on it, this
exception happens:

java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at clojure.lang.Reflector.invokeConstructor(Reflector.java:160)
at org.enclojure.ide.nb.classpaths.resource_tracking
$resolve_source_file.invoke(resource_tracking.clj:94)
at org.enclojure.ide.nb.editor.utils$get_file_object.invoke(utils.clj:
95)
at org.enclojure.ide.nb.editor.utils
$open_editor_file_base.invoke(utils.clj:116)
at org.enclojure.ide.nb.editor.utils
$open_editor_file.invoke(utils.clj:132)
at org.enclojure.ide.nb.editor.utils
$open_editor_file.invoke(utils.clj:137)
at org.enclojure.ide.navigator.views.navigator_panel
$get_mouse_listener$fn__3333.invoke(navigator_panel.clj:234)
at org.enclojure.ide.navigator.views.navigator_panel.proxy
$java.awt.event.MouseAdapter$0.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:
263)
at java.awt.Component.processMouseEvent(Component.java:6264)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at org.enclojure.ide.navigator.views.navigator_panel.proxy
$javax.swing.JTree$0.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at org.enclojure.ide.navigator.views.navigator_panel.proxy
$javax.swing.JTree$0.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
4235)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:
162)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:
122)


I'm willing to put some more time into this if I can get some help
from others.
I can commit my changes somehow/somewhere if someone wants to help me
out.
-- Grant
Reply all
Reply to author
Forward
0 new messages