Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17726

Wierd proposals in css content assist for ionic projects

XMLWordPrintable

    • Hide

      1. Install ionic - http://ionicframework.com/docs/guide/installation.html
      2. Create a new project:

      ionic start todo blank

      3. Import the project as a plain eclipse project
      4. Open index.html with JBoss HTML Editor
      5. Add the following snipet to the file:

      <div class="bar">

      6. Place the cursor right after bar -> <div class="bar|
      7. Ctrl+Space
      8. FAILURE: There are a few wierd proposals like: "bar)", "bar-subheader)", "bar-subheader).item-input-inset"
      9. Select/insert "bar-subheader).item-input-inset"
      10. Ctrl+Click on item-input-inser in class="bar-subheader).item-input-inset"
      11. FAILURE:

      java.lang.NullPointerException
      	at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.matchesRule(CSSClassHyperlink.java:390)
      	at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.getMatchedRuleDescriptors(CSSClassHyperlink.java:243)
      	at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.doHyperlink(CSSClassHyperlink.java:90)
      	at org.jboss.tools.common.text.ext.hyperlink.xpl.AbstractBaseHyperlink.open(AbstractBaseHyperlink.java:287)
      	at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseUp(HyperlinkManager.java:436)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
      	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:379)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
      	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)
      
      Show
      1. Install ionic - http://ionicframework.com/docs/guide/installation.html 2. Create a new project: ionic start todo blank 3. Import the project as a plain eclipse project 4. Open index.html with JBoss HTML Editor 5. Add the following snipet to the file: <div class= "bar" > 6. Place the cursor right after bar -> <div class="bar| 7. Ctrl+Space 8. FAILURE: There are a few wierd proposals like: "bar)", "bar-subheader)", "bar-subheader).item-input-inset" 9. Select/insert "bar-subheader).item-input-inset" 10. Ctrl+Click on item-input-inser in class="bar-subheader). item-input-inset " 11. FAILURE: java.lang.NullPointerException at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.matchesRule(CSSClassHyperlink.java:390) at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.getMatchedRuleDescriptors(CSSClassHyperlink.java:243) at org.jboss.tools.jst.web.ui.internal.text.ext.hyperlink.CSSClassHyperlink.doHyperlink(CSSClassHyperlink.java:90) at org.jboss.tools.common.text.ext.hyperlink.xpl.AbstractBaseHyperlink.open(AbstractBaseHyperlink.java:287) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseUp(HyperlinkManager.java:436) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578) 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:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233) 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)

          vrubezhny Victor Rubezhny (Inactive)
          alexeykazakov Alexey Kazakov
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: