org.eclipse.ant.core.AntSecurityException Problems occurred when invoking code from plug-in: "org.ec

Discussion in 'Java' started by jygoo, Mar 22, 2006.

  1. jygoo

    jygoo Guest

    Hello,

    I get about 20 error dialog boxes and the following is what I see in
    the log file after. It seems like it is triggered by viewing or
    editting the ant build script from Eclipse Ant Editor. But exact
    sequence of actions that triggers this error is not consistent. Any
    ideas? It almost looks like it's going going through a stack overflow.

    !ENTRY org.eclipse.ui.workbench 4 2 2006-03-21 17:19:16.899
    !MESSAGE Problems occurred when invoking code from plug-in:
    "org.eclipse.ui.workbench".
    !STACK 0
    org.eclipse.ant.core.AntSecurityException
    at
    org.eclipse.ant.internal.core.AntSecurityManager.checkPermission(AntSecurityManager.java:226)
    at java.lang.System.setProperty(Unknown Source)
    at
    org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.partActivated(EvaluationContextManager.java:301)
    at
    org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.pageOpened(EvaluationContextManager.java:139)
    at
    org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.windowOpened(EvaluationContextManager.java:111)
    at
    org.eclipse.jdt.internal.debug.ui.EvaluationContextManager.windowActivated(EvaluationContextManager.java:88)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:489)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at
    org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:487)
    at
    org.eclipse.ui.internal.WorkbenchWindow$6.shellActivated(WorkbenchWindow.java:2419)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:164)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
    at
    org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1619)
    at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1476)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3036)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:410)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at
    org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)

    .... Same stack repeated again and again...

    at org.eclipse.jface.window.Window.close(Window.java:321)
    at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:891)
    at
    org.eclipse.jface.dialogs.MessageDialog.buttonPressed(MessageDialog.java:167)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
    at org.eclipse.jface.window.Window.open(Window.java:787)
    at
    org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
    at
    org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:59)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:715)
    at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1046)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at
    org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:54)
    at
    org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)
    at
    org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:77)
    at
    org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
    at
    org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:117)
    at
    org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2910)
    at
    org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2512)
    at
    org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249)
    at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:295)
    at
    org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:788)
    at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:771)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:119)
    at
    org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
    at
    org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at
    org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
    at
    org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at
    org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:660)
    at
    org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3138)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1922)
    at
    org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    Thanks,
    JGoo
    jygoo, Mar 22, 2006
    #1
    1. Advertising

  2. jygoo

    IchBin Guest

    Re: org.eclipse.ant.core.AntSecurityException Problems occurred when

    jygoo wrote:
    > Hello,
    >
    > I get about 20 error dialog boxes and the following is what I see in
    > the log file after. It seems like it is triggered by viewing or
    > editting the ant build script from Eclipse Ant Editor. But exact
    > sequence of actions that triggers this error is not consistent. Any
    > ideas? It almost looks like it's going going through a stack overflow.
    >
    > !ENTRY org.eclipse.ui.workbench 4 2 2006-03-21 17:19:16.899
    > !MESSAGE Problems occurred when invoking code from plug-in:
    > "org.eclipse.ui.workbench".
    > !STACK 0
    > org.eclipse.ant.core.AntSecurityException
    > at

    [snip dump]

    Why don't you ask this question in Eclipse's NNTP: news.eclipse.org

    Thanks in Advance...
    IchBin, Pocono Lake, Pa, USA
    http://weconsultants.servebeer.com/JHackerAppManager
    __________________________________________________________________________

    'If there is one, Knowledge is the "Fountain of Youth"'
    -William E. Taylor, Regular Guy (1952-)
    IchBin, Mar 22, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    11,387
    bhakthi
    Mar 4, 2009
  2. Replies:
    1
    Views:
    498
    Larry
    Mar 7, 2006
  3. Eddy C
    Replies:
    4
    Views:
    593
    Eddy C
    Mar 22, 2006
  4. ennio
    Replies:
    0
    Views:
    428
    ennio
    Sep 8, 2006
  5. George Maney
    Replies:
    1
    Views:
    280
    Lucien
    Jan 22, 2004
Loading...

Share This Page