[JBoss JIRA] (JBIDE-18387) HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18387?page=com.atlassian.jira.plugi... ]
Victor Rubezhny edited comment on JBIDE-18387 at 11/12/14 9:34 PM:
-------------------------------------------------------------------
[~akazakov], please do not apply this PR (#405) until WTP 3.7 with org.eclipse.wst.html.core version >= 1.1.801 is picked up into the Target Platform. Otherwise the JUnit Test Case will fail.
was (Author: vrubezhny):
[~akazakov], please do not apply this PR (#405) until WTP 3.7 with org.eclipse.wst.html.core version >= 1.1.801 is picked up into the Target Platform.
> HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)
> -----------------------------------------------------------------
>
> Key: JBIDE-18387
> URL: https://issues.jboss.org/browse/JBIDE-18387
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing, upstream
> Reporter: Alexey Kazakov
> Assignee: Victor Rubezhny
> Labels: new_and_noteworthy
> Fix For: 4.3.x
>
> Attachments: 00001262.png, bug444545.patch
>
>
> WTP HTML validator marks any custom html tags as unknown. It's possible to disable this validation at all: Window->Preferences->Web->HTML Files->Validation ==> Set Elements -> Unknown tag name severity to "Ignore":
> !00001262.png!
> But it would be useful to have ability to make HTML validator ignore some particular tags only.
> I suggest to contribute a patch to WTP to fix it.
> We have already did it for attributes, so lets do it for tags too:
> - New preferences with a list of ignored tags (a mask can be used)
> - A new preference page to set these preferences
> - QuickFix for validation problem which will add the tag name/mask to this list/preferences
> - Extension in our angular/ionic plugin which will disable validation for <ion-*> tags.
> I've filed it to bugzilla - https://bugs.eclipse.org/bugs/show_bug.cgi?id=444545 but we have to provide a patch for it if we want to have it done ;)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-15769) [Config Editor] Only Android parameters added to parameters table
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15769?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-15769:
---------------------------------
Fix Version/s: 4.2.x
(was: 4.2.1.Final)
> [Config Editor] Only Android parameters added to parameters table
> -----------------------------------------------------------------
>
> Key: JBIDE-15769
> URL: https://issues.jboss.org/browse/JBIDE-15769
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Reporter: Michelle Murray
> Assignee: Gorkem Ercan
> Fix For: 4.2.x
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> In Cordova Configuration Editor, Platform Properties mode:
> 1. Click Add for first features table (opens Cordova Plugin Discovery window)
> 2. Select check box for cordova item (e.g., org.apache.cordova.camera)
> 3. Click Next
> 4. Click Finish
> Outcomes:
> * "Camera" is added to feature table
> * "android-package" is added to parameter table
> * Following is added to file in config.xml mode
> {noformat}
> <feature name="Camera">
> <param name="android-package" value="org.apache.cordova.camera.CameraLauncher" />
> <param name="ios-package" value="CDVCamera" />
> </feature>
> {noformat}
> So looks like only the Android parameter is being added to the parameter table. Should the iOS parameter be automatically added to the parameter table too?
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-18281) NullPointerException when trying to run Cordova application on iOS simulator
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18281?page=com.atlassian.jira.plugi... ]
Gorkem Ercan resolved JBIDE-18281.
----------------------------------
Resolution: Cannot Reproduce Bug
> NullPointerException when trying to run Cordova application on iOS simulator
> ----------------------------------------------------------------------------
>
> Key: JBIDE-18281
> URL: https://issues.jboss.org/browse/JBIDE-18281
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Environment: Mac OSX 10.9.4
> Xcode 5.1.1
> JBDS 8.0.0.Beta3
> cordova app: WFK's kitchensink-cordova-contacts
> Reporter: Tadeas Kriz
> Fix For: 4.2.1.Final
>
>
> I've tried one more project and that one worked, but I don't know what should I focus on when looking for differences between those two projects.
> Message:
> {code}
> An internal error occurred during: "Launching kitchensink-cordova-contacts (iOS Simulator)".
> {code}
> Stack trace:
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.aerogear.hybrid.ios.core.xcode.XcodeProjectGenerator.generateNativeFiles(XcodeProjectGenerator.java:69)
> at org.jboss.tools.aerogear.hybrid.core.platform.AbstractProjectGeneratorDelegate.generateNow(AbstractProjectGeneratorDelegate.java:119)
> at org.jboss.tools.aerogear.hybrid.ios.core.xcode.XCodeBuild.buildNow(XCodeBuild.java:122)
> at org.jboss.tools.aerogear.hybrid.ios.core.simulator.IOSSimulatorLaunchDelegate.buildForLaunch(IOSSimulatorLaunchDelegate.java:88)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
> Session data:
> {code}
> eclipse.buildId=unknown
> java.version=1.7.0_40
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/tkriz/.eclipse_keyring -showlocation
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/tkriz/.eclipse_keyring -showlocation
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-17865) [Config Editor] Can't open config.xml with Cordova Configuration Editor
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17865?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-17865:
---------------------------------
Fix Version/s: 4.2.x
(was: 4.3.0.Alpha1)
(was: 4.2.1.Final)
> [Config Editor] Can't open config.xml with Cordova Configuration Editor
> -----------------------------------------------------------------------
>
> Key: JBIDE-17865
> URL: https://issues.jboss.org/browse/JBIDE-17865
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.2.0.CR1
> Reporter: Alexey Kazakov
> Assignee: Gorkem Ercan
> Priority: Critical
> Fix For: 4.2.x
>
>
> 1. Install ionic - http://ionicframework.com/docs/guide/installation.html
> 2. Create a new project: {code}ionic start todo blank{code}
> 3. Import the project as a plain eclipse project
> 4. Open config.xml with Cordova Configuration Editor
> 5. FAILURE:
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.aerogear.hybrid.core.config.WidgetModel.getConfigXml(WidgetModel.java:222)
> at org.jboss.tools.aerogear.hybrid.core.config.WidgetModel.<init>(WidgetModel.java:83)
> at org.jboss.tools.aerogear.hybrid.core.config.WidgetModel.getModel(WidgetModel.java:94)
> at org.jboss.tools.aerogear.hybrid.ui.config.internal.ConfigEditor.getWidget(ConfigEditor.java:109)
> at org.jboss.tools.aerogear.hybrid.ui.config.internal.ConfigEditor.setTitle(ConfigEditor.java:54)
> at org.jboss.tools.aerogear.hybrid.ui.config.internal.ConfigEditor.init(ConfigEditor.java:49)
> at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:390)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:304)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)
> at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)
> at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
> at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
> at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)
> at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1251)
> at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4622)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
> at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
> at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
> at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
> at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
> at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
> at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
> at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:692)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:385)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1126)
> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3182)
> at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3104)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3086)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3081)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3045)
> at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:338)
> at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:180)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-18740) Broken Mobile Engine download - JsonIOException
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18740?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-18740:
---------------------------------
Fix Version/s: 4.2.1.Final
> Broken Mobile Engine download - JsonIOException
> -----------------------------------------------
>
> Key: JBIDE-18740
> URL: https://issues.jboss.org/browse/JBIDE-18740
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.2.0.Final
> Reporter: Pavol Srna
> Priority: Critical
> Fix For: 4.2.1.Final
>
> Attachments: cordova.png, cordova_local.png, eclipse.log, local_search.log
>
>
> {code}
> com.google.gson.JsonIOException: java.io.IOException: Attempted read from closed stream.
> at com.google.gson.internal.Streams.parse(Streams.java:57)
> at com.google.gson.JsonParser.parse(JsonParser.java:84)
> at org.eclipse.thym.core.engine.internal.cordova.DefaultEngineRepoProvider.getEngines(DefaultEngineRepoProvider.java:111)
> at org.eclipse.thym.core.engine.internal.cordova.CordovaEngineProvider.getDownloadableVersions(CordovaEngineProvider.java:143)
> at org.eclipse.thym.ui.internal.engine.EngineDownloadDialog.createDialogArea(EngineDownloadDialog.java:245)
> at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:161)
> at org.eclipse.thym.ui.internal.engine.EngineDownloadDialog.createContents(EngineDownloadDialog.java:183)
> at org.eclipse.jface.window.Window.create(Window.java:435)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
> at org.eclipse.jface.window.Window.open(Window.java:797)
> at org.eclipse.thym.ui.internal.engine.AvailableCordovaEnginesSection$5.handleEvent(AvailableCordovaEnginesSection.java:338)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> at org.eclipse.jface.window.Window.open(Window.java:808)
> at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:269)
> at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:290)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
> at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
> at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
> at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
> at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:343)
> at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:159)
> 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:4454)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
> 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:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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)
> Caused by: java.io.IOException: Attempted read from closed stream.
> at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:172)
> at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138)
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
> at java.io.InputStreamReader.read(InputStreamReader.java:184)
> at com.google.gson.stream.JsonReader.fillBuffer(JsonReader.java:825)
> at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:878)
> at com.google.gson.stream.JsonReader.consumeNonExecutePrefix(JsonReader.java:405)
> at com.google.gson.stream.JsonReader.peek(JsonReader.java:364)
> at com.google.gson.internal.Streams.parse(Streams.java:42)
> ... 65 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-18711) Cordova plugin addition and removal fails when config.xml is in a linked folder
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18711?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-18711:
---------------------------------
Fix Version/s: 4.2.1.Final
> Cordova plugin addition and removal fails when config.xml is in a linked folder
> -------------------------------------------------------------------------------
>
> Key: JBIDE-18711
> URL: https://issues.jboss.org/browse/JBIDE-18711
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.2.0.Final
> Environment: Oracle JDK 1.8.0_05, Mac OS X Mavericks
> Reporter: Vineet Reynolds
> Fix For: 4.2.1.Final
>
>
> When config.xml is present in an Eclipse Linked folder (not in a symbolic link), then attempting to add or remove plugins (and possibly other operations on config.xml) fails with a spurious NullPointerException (without a stacktrace).
> This pretty much means that the Hybrid Mobile application project with a linked folder for 'www' is in a read-only state for plugin addition/removal. If any plugin should be added or removed, the linked folder must be dropped, converted to an ordinary folder (or symbolic link), and then re-created after modifications.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-18724) HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18724?page=com.atlassian.jira.plugi... ]
Victor Rubezhny edited comment on JBIDE-18724 at 11/12/14 9:06 PM:
-------------------------------------------------------------------
[~akazakov], The PR can be applied, but the issue cannot be resolved until WTP 3.6.3 (with org.eclipse.wst.html.core v.1.1.801 inside) is released and picked up by the Target Platform.
https://github.com/jbosstools/jbosstools-jst/pull/404 is to be applied on jbosstools-4.2.x only it's compatible with any versions of WTP 3.6.x, but is to be used with WTP v/3.6.3 and later (It states at the preference page that it cannot be used with WTP < 3.6.3. It can be successfully built on any WTP 3.6.x as well)
JUnit Test for Quick Fix is updated
was (Author: vrubezhny):
[~akazakov], please do not resolve the issue for a while (I should update a JUnit Test for quick fix)
https://github.com/jbosstools/jbosstools-jst/pull/404 is to be applied on jbosstools-4.2.x only it's compatible with any versions of WTP 3.6.x, but is to be used with WTP v/3.6.3 and later (It states at the preference page that it cannot be used with WTP < 3.6.3. It can be successfully built on any WTP 3.6.x as well)
JUnit Test for Quick Fix follows
> HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)
> -----------------------------------------------------------------
>
> Key: JBIDE-18724
> URL: https://issues.jboss.org/browse/JBIDE-18724
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing, upstream
> Reporter: Victor Rubezhny
> Assignee: Victor Rubezhny
> Labels: new_and_noteworthy
> Fix For: 4.2.1.Final
>
>
> WTP HTML validator marks any custom html tags as unknown. It's possible to disable this validation at all: Window->Preferences->Web->HTML Files->Validation ==> Set Elements -> Unknown tag name severity to "Ignore":
> !00001262.png!
> But it would be useful to have ability to make HTML validator ignore some particular tags only.
> I suggest to contribute a patch to WTP to fix it.
> We have already did it for attributes, so lets do it for tags too:
> - New preferences with a list of ignored tags (a mask can be used)
> - A new preference page to set these preferences
> - QuickFix for validation problem which will add the tag name/mask to this list/preferences
> - Extension in our angular/ionic plugin which will disable validation for <ion-*> tags.
> I've filed it to bugzilla - https://bugs.eclipse.org/bugs/show_bug.cgi?id=444545 but we have to provide a patch for it if we want to have it done ;)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months
[JBoss JIRA] (JBIDE-18747) NPE in CDI (probably) Validation
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18747?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-18747:
-----------------------------------
Fix Version/s: 4.2.1.Final
4.3.0.Alpha1
> NPE in CDI (probably) Validation
> --------------------------------
>
> Key: JBIDE-18747
> URL: https://issues.jboss.org/browse/JBIDE-18747
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi, jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Final
> Reporter: Victor Rubezhny
> Assignee: Alexey Kazakov
> Fix For: 4.2.1.Final, 4.3.0.Alpha1
>
>
> In some cases, when you're editing HTML Validation Preferences and agree to perform a build on pressing 'Apply' and then immediately do the same on pressing 'OK' button, an NPE occurs in Validation:
> {code}
> !ENTRY org.jboss.tools.common 4 0 2014-11-13 02:17:31.326
> !MESSAGE
> !STACK 0
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
> at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> at org.eclipse.wst.validation.internal.core.ValidatorLauncher.start(ValidatorLauncher.java:77)
> at org.eclipse.wst.validation.Validator$V1.validate(Validator.java:768)
> at org.eclipse.wst.validation.Validator.validate(Validator.java:405)
> at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
> at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
> at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:783)
> at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
> at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
> at org.eclipse.wst.validation.internal.ValidationRunner.run(ValidationRunner.java:148)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
> at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:67)
> at org.eclipse.wst.validation.ValidationFramework.validate(ValidationFramework.java:661)
> at org.eclipse.wst.sse.ui.internal.preferences.ui.AbstractValidationSettingsPage$ValidateJob.run(AbstractValidationSettingsPage.java:411)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:116)
> ... 15 more
> {code}
> Some debugging shows that NPE happens when validator is CDICoreValidator object: the following expression:
> {code}validationHelper.getValidationContextManager().getValidatingProjectTree(validator){code}, and that value is used with no any checks for that.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 4 months