Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Enclojure breaks all debugging in NetBeans 6.5 beta
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chas Emerick  
View profile  
 More options Aug 28 2008, 4:49 pm
From: Chas Emerick <cemer...@snowtide.com>
Date: Thu, 28 Aug 2008 13:49:28 -0700 (PDT)
Local: Thurs, Aug 28 2008 4:49 pm
Subject: Enclojure breaks all debugging in NetBeans 6.5 beta
I know that enclojure is currently targeted at NB 6.1, but I thought
I'd report this, as 6.5 is coming pretty quickly.

When enclojure is installed in NB 6.5 beta, it causes (or is
associated with) an exception at startup that makes it impossible to
set a line breakpoint (in Java -- I've not really tried the clojure
debugging yet).  Specifically, clicking in the left margin of Java
file has no effect, and Debug/Toggle Line Breakpoint is permanently
disabled when enclojure is installed.

The exception that is thrown at startup is:

Annotation: value =
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n
from Actions/Debug/org-netbeans-modules-debugger-ui-actions-
ContinueAction.instance
Annotation: value =
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n
from Actions/Debug/org-netbeans-modules-debugger-ui-actions-
ContinueAction.instance
Annotation: value =
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n
from Actions/Debug/org-netbeans-modules-debugger-ui-actions-
ContinueAction.instance
value =
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n
from Actions/Debug/org-netbeans-modules-debugger-ui-actions-
ContinueAction.instance
value =
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n
from Actions/Debug/org-netbeans-modules-debugger-ui-actions-
ContinueAction.instance
Caused: java.lang.AssertionError: Cannot be called outside EQ!
        at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction.init(LookupSe nsitiveAction.java:
99)
        at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction.isEnabled(Loo kupSensitiveAction.java:
124)
        at
org.enclojure.clojure.debugger.actions.MainProjectManager.<init>(MainProjec tManager.java:
71)
        at
org.enclojure.clojure.debugger.actions.MainProjectManager.<clinit>(MainProj ectManager.java:
55)
        at
org.enclojure.clojure.debugger.actions.ClojureRunToCursorActionProvider.<in it>(ClojureRunToCursorActionProvider.java:
78)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce ssorImpl.java:
39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru ctorAccessorImpl.java:
27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.netbeans.api.debugger.Lookup
$MetaInf.createInstance(Lookup.java:378)
        at org.netbeans.api.debugger.Lookup$MetaInf.access$1300(Lookup.java:
211)
        at org.netbeans.api.debugger.Lookup$MetaInf
$MetaInfLookupList.fillInstances(Lookup.java:611)
        at org.netbeans.api.debugger.Lookup$MetaInf
$MetaInfLookupList.<init>(Lookup.java:599)
        at org.netbeans.api.debugger.Lookup$MetaInf
$MetaInfLookupList.<init>(Lookup.java:592)
        at org.netbeans.api.debugger.Lookup$MetaInf
$MetaInfLookupList.<init>(Lookup.java:587)
        at org.netbeans.api.debugger.Lookup$MetaInf.lookup(Lookup.java:245)
        at
org.netbeans.api.debugger.ActionsManager.initActionImpls(ActionsManager.jav a:
431)
        at
org.netbeans.api.debugger.ActionsManager.isEnabled(ActionsManager.java:
264)
        at
org.netbeans.modules.debugger.ui.actions.DebuggerAction.isEnabled(DebuggerA ction.java:
128)
        at
org.netbeans.modules.debugger.ui.actions.DebuggerAction.<init>(DebuggerActi on.java:
77)
        at
org.netbeans.modules.debugger.ui.actions.DebuggerAction.createContinueActio n(DebuggerAction.java:
148)
Caused: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.netbeans.core.startup.layers.BinaryFS
$AttrImpl.methodValue(BinaryFS.java:541)
        at org.netbeans.core.startup.layers.BinaryFS
$AttrImpl.getValue(BinaryFS.java:485)
        at org.netbeans.core.startup.layers.BinaryFS
$BFSBase.getAttribute(BinaryFS.java:370)
        at
org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:
826)
        at
org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:
786)
        at
org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:
822)
        at
org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:
786)
        at
org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:
719)
        at org.openide.loaders.InstanceDataObject
$Ser.instanceCreate(InstanceDataObject.java:1245)
        at
org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.ja va:
749)
        at
org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:
165)
        at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:
129)
        at org.netbeans.core.ShortcutsFolder.<init>(ShortcutsFolder.java:114)
        at
org.netbeans.core.ShortcutsFolder.initShortcuts(ShortcutsFolder.java:
92)
        at org.netbeans.core.NonGui.initializeMainWindow(NonGui.java:151)
        at org.netbeans.core.NonGui.run(NonGui.java:103)
        at org.netbeans.core.startup.Main.start(Main.java:324)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:
110)
[catch] at java.lang.Thread.run(Thread.java:613)

Commenting out lines 69-71 in MainProjectManager.java eliminates that
exception, allows Java debugging to work properly, and enclojure works
nicely otherwise.  I'm afraid I'm totally out of my depth w.r.t. the
NB debugger, so I didn't dig into things much further than that.

Thanks,

- Chas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Thorsen  
View profile  
 More options Aug 29 2008, 6:13 pm
From: Eric Thorsen <ethor...@thortech-solutions.com>
Date: Fri, 29 Aug 2008 15:13:22 -0700 (PDT)
Local: Fri, Aug 29 2008 6:13 pm
Subject: Re: Enclojure breaks all debugging in NetBeans 6.5 beta
Once I get this next release out I will check enclojure out on 6.5.

Thanks for the report!
Eric

On Aug 28, 4:49 pm, Chas Emerick <cemer...@snowtide.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »