facebook

MyEclipse Properties

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #351184 Reply

    Tony Herstell
    Participant

    The MyEclipse Properties has java properties….
    Source Folders, Packages, Classes/Interfaces/Lines of Code (semicolons I assume)

    Always wondered why you can’t also count the “sloc” for the .js and HTML

    .js will probably be ok with ;

    and maybe just the “lines” of html (a line being a pair of matching brackets)

    #351191 Reply

    Tony,

    Thanks for the suggestion. I have raised an enhancement request and our dev team will take a look at it.
    Let us know if you see any issues in MyEclipse.

    #351315 Reply

    Tony Herstell
    Participant

    While they are in there you may want to fix the bug too (there is no “Bug” area to post this!)

    This was caused by hitting update on MyEclipse properties in Java Stasitics

    An internal error has occurred.
    java.lang.NullPointerException

    And once its started it keeps popping quite often (restart!)..

    See the SECOND one about refresh.. First one to post to someone…

    
    
    !SESSION 2014-09-02 07:36:42.102 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.7.0_45
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_NZ
    Command-line arguments:  -os win32 -ws win32 -arch x86_64
    
    This is a continuation of log file C:\Users\Tony\Workspaces\MyEclipse 2015 CI\.metadata\.bak_0.log
    Created Time: 2014-09-02 07:44:05.126
    
    !ENTRY org.eclipse.ui.navigator 4 2 2014-09-03 10:00:46.078
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator".
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.ws.jaxrs.explorer.model.BasicRESTNode.getAnnotations(BasicRESTNode.java:96)
        at com.genuitec.eclipse.ws.jaxrs.explorer.model.BasicRESTNode.getAnnotation(BasicRESTNode.java:50)
        at com.genuitec.eclipse.ws.jaxrs.explorer.internal.RESTAnnotationModelProvider.analyzeCompilationUnit(RESTAnnotationModelProvider.java:157)
        at com.genuitec.eclipse.ws.jaxrs.explorer.internal.RESTAnnotationModelProvider.loadModel(RESTAnnotationModelProvider.java:144)
        at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.getConcreteModel(AbstractAnnotationModelProvider.java:111)
        at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.getModelObject(AbstractAnnotationModelProvider.java:127)
        at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.addListener(AbstractAnnotationModelProvider.java:214)
        at com.genuitec.eclipse.ws.jaxrs.explorer.internal.InternalModelManager.getModelProvider(InternalModelManager.java:69)
        at com.genuitec.eclipse.ws.jaxrs.explorer.internal.InternalModelManager.getRootNode(InternalModelManager.java:54)
        at com.genuitec.eclipse.ws.jaxrs.explorer.ExplorerModelManager.getRootNode(ExplorerModelManager.java:14)
        at com.genuitec.eclipse.ws.jaxrs.explorer.ui.RESTProjectContentProvider.getProjectNode(RESTProjectContentProvider.java:77)
        at com.genuitec.eclipse.ws.jaxrs.explorer.ui.RESTProjectContentProvider.getChildren(RESTProjectContentProvider.java:61)
        at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:96)
        at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:275)
        at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:94)
        at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$1.run(NavigatorContentServiceContentProvider.java:152)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(NavigatorContentServiceContentProvider.java:139)
        at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(NavigatorContentServiceContentProvider.java:125)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1365)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:353)
        at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:905)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:617)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:813)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1641)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1638)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1638)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2533)
        at org.eclipse.ui.navigator.CommonViewer.setSelectionToWidget(CommonViewer.java:446)
        at org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1749)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2977)
        at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1705)
        at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1093)
        at org.eclipse.ui.navigator.CommonViewer.setSelection(CommonViewer.java:375)
        at org.eclipse.ui.navigator.CommonNavigator.selectReveal(CommonNavigator.java:383)
        at org.eclipse.ui.internal.navigator.actions.LinkEditorAction$4.run(LinkEditorAction.java:109)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.navigator.actions.LinkEditorAction$3.runInUIThread(LinkEditorAction.java:97)
        at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
    
    
    !ENTRY org.eclipse.ui 4 4 2014-09-04 14:11:53.139
    !MESSAGE An internal error has occurred.
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:573)
        at org.eclipse.ui.internal.progress.ProgressInfoItem.createChildren(ProgressInfoItem.java:301)
        at org.eclipse.ui.internal.progress.ProgressInfoItem.<init>(ProgressInfoItem.java:205)
        at org.eclipse.ui.internal.progress.DetailedProgressViewer.createNewItem(DetailedProgressViewer.java:209)
        at org.eclipse.ui.internal.progress.DetailedProgressViewer.add(DetailedProgressViewer.java:183)
        at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.add(ProgressViewerContentProvider.java:234)
        at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:298)
        at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
        at org.eclipse.jface.window.Window.open(Window.java:808)
        at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:160)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
    
    
    
    #351325 Reply

    Tony,

    Thanks for pointing to this. I have raised a bug report for the dev to investigate this issue. If possible, can you please attach a sample project which exhibits this issue to help us investigate further.

    #351653 Reply

    Brian Fernandes
    Moderator

    Tony,

    This issue has been fixed in CI 5. Thanks again for the report!

    #461090 Reply

    csnowden
    Participant

    I don’t know if I should start a new thread or not, but this exact same issue, with the same log messages started happening to me after the CI 18 update. Eclipse would just immediately crash to the desktop after attempting to run any of my projects. Based on this being listed as a previously fixed bug, I locked my Eclipse version to CI 17 from last month, and that resolved the problem. So, somehow this appears to have been reintroduced.

    #461100 Reply

    csnowden
    Participant

    Okay? Was that a snipe about log files? Here’s the relevant excerpts from yesterday through today. I hadn’t used MyEclipse since early on 12/11/2015. I believe the updates were applied yesterday. I can provide the logs from 12/11/2015 as well, if required.

    The nullpointerexceptions start hitting at about 8:43 today.

    #461101 Reply

    csnowden
    Participant

    Sorry, bad filetype.

    Attachments:
    You must be logged in to view attached files.
    #461167 Reply

    support-swapna
    Moderator

    csnowden,

    Sorry that you are seeing this issue.

    Can you please try starting MyEclipse 2015 CI 18 with -clean command args and check if the issue persists?
    Here is the FAQ to start MyEclipse with -clean : https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    If the issue persists, then please share with us the MyEclipse Installation Details from MyEclipse > Installation Summary > Installation Details for further investigation.

    –Swapna
    MyEclipse Support

    #461170 Reply

    support-swapna
    Moderator

    csnowden,

    In addition to the steps mentioned in my previous response, can you please also switch to a new workspace, import your projects one at a time to rule out project specific issues?

    Also share with us details about the actions being performed on the IDE like editing/saving files etc when the NPEs are being logged or when the IDE crashes.

    Let us know how it works for you.

    –Swapna
    MyEclipse Support

    #461179 Reply

    csnowden
    Participant

    Thanks for the suggestions. I will begin testing these and let you know of the results as soon as I have them.

    #461181 Reply

    csnowden
    Participant

    Huh. Yeah, I added the -clean tag and then re-applied CI 18. After a restart, I started running my applications again, and experienced no crashes. So, I assume then something just installed incorrectly or possibly failed the first time around. In the past hour, things have looked good. Just in the random case that it matters to someone else in the future, I did the steps backwards in my haste. Created a new workspace (which also worked) before adding -clean and upgrading, during which I continued using my old workspace. And it’s working with my original workspace. I think I’m good.

    Thank you very much!

    #461581 Reply

    support-swapna
    Moderator

    csnowden,

    Glad that it works.
    Let us know if you see any issues.

    –Swapna
    MyEclipse Support

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: MyEclipse Properties

You must be logged in to post in the forum log in