[JBoss JIRA] (ERT-193) TypeHierarchy.getSuperclass() returns null [EBZ#493474]
by Friendly Jira Robot (JIRA)
Friendly Jira Robot created ERT-193:
---------------------------------------
Summary: TypeHierarchy.getSuperclass() returns null [EBZ#493474]
Key: ERT-193
URL: https://issues.jboss.org/browse/ERT-193
Project: Eclipse Release Train
Issue Type: Task
Components: JSDT
Reporter: Friendly Jira Robot
Moving from org.eclipse.wst.jsdt.core_1.3.401 to org.eclipse.wst.jsdt.core_2.0.0, TypeHierarchy.getSuperclass() returns null now.
Here my usage code snippet
...
String[] baseTypeNames = new String[]{"dijit._WidgetBase", "dijit._Widget"}; //$NON-NLS-1$ //$NON-NLS-2$
SubMonitor sub = SubMonitor.convert(monitor, baseTypeNames.length);
for (String baseTypeName : baseTypeNames) {
SubMonitor typeMonitor = sub.newChild(1);
IType[] baseTypes = jsproject.findTypes(baseTypeName);
ITypeHierarchy hierarchy = baseTypes[0].newTypeHierarchy(jsproject, typeMonitor);
IType type = hierarchy.getSuperclass(baseTypes[0]);
//type.... ->NPE
...
}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ERT-184) NPE when chromium feature is not present [EBZ#493234]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-184?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk reassigned ERT-184:
-------------------------------
Assignee: Ilya Buziuk
> NPE when chromium feature is not present [EBZ#493234]
> -----------------------------------------------------
>
> Key: ERT-184
> URL: https://issues.jboss.org/browse/ERT-184
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Ilya Buziuk
> Priority: Critical
> Labels: 3.8_RC1, Debug, bzira
> Fix For: Neon (4.6) RC1
>
>
> Starting a debugging session without Chromium feature available causes an NPE. This can have 2 solutions (and maybe both of them are desirable).
> * A better error message than a NPE when there is no debug support
> * Include the chromium feature by default, as "included" by the main JSDT feature.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ERT-184) NPE when chromium feature is not present [EBZ#493234]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-184?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk resolved ERT-184.
-----------------------------
Resolution: Done
> NPE when chromium feature is not present [EBZ#493234]
> -----------------------------------------------------
>
> Key: ERT-184
> URL: https://issues.jboss.org/browse/ERT-184
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Ilya Buziuk
> Priority: Critical
> Labels: 3.8_RC1, Debug, bzira
> Fix For: Neon (4.6) RC1
>
>
> Starting a debugging session without Chromium feature available causes an NPE. This can have 2 solutions (and maybe both of them are desirable).
> * A better error message than a NPE when there is no debug support
> * Include the chromium feature by default, as "included" by the main JSDT feature.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22338) NullPointerException below SocketProposalComputer.computeCompletionProposals (thrown in BasicFeatureMap.contains)
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22338?page=com.atlassian.jira.plugi... ]
Alexey Kazakov reassigned JBIDE-22338:
--------------------------------------
Assignee: Xavier Coulon
> NullPointerException below SocketProposalComputer.computeCompletionProposals (thrown in BasicFeatureMap.contains)
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-22338
> URL: https://issues.jboss.org/browse/JBIDE-22338
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.3.1.Final
> Reporter: Automated Error Reporting Bot
> Assignee: Xavier Coulon
>
> The following problem was reported via the automated error reporting:
> Message: HIDDEN
> {noformat}
> java.lang.NullPointerException: null
> at org.eclipse.emf.ecore.util.BasicFeatureMap.contains(BasicFeatureMap.java:712)
> at org.eclipse.emf.ecore.util.BasicFeatureMap.contains(BasicFeatureMap.java:684)
> at org.eclipse.emf.ecore.util.BasicFeatureMap.add(BasicFeatureMap.java:1281)
> at org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureEList.add(FeatureMapUtil.java:744)
> at org.eclipse.jst.jee.model.internal.EJBAnnotationReader.sessionBeanFound(EJBAnnotationReader.java:338)
> at org.eclipse.jst.jee.model.internal.EJBAnnotationReader.processResult(EJBAnnotationReader.java:254)
> at org.eclipse.jst.jee.model.internal.EJBAnnotationReader.processAddedCompilationUnit(EJBAnnotationReader.java:411)
> at org.eclipse.jst.jee.model.internal.EJBAnnotationReader.processChangedCompilationUnit(EJBAnnotationReader.java:569)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.recursevilyProcessCompilationUnits(AbstractAnnotationModelProvider.java:553)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.internalPostReconcile(AbstractAnnotationModelProvider.java:466)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.elementChanged(AbstractAnnotationModelProvider.java:446)
> at org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1662)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1652)
> at org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.java:1504)
> at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1463)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:770)
> at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:789)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1250)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1227)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1192)
> at org.jboss.tools.websockets.ui.internal.ca.SocketProposalComputer.computeCompletionProposals(SocketProposalComputer.java:130)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:322)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:279)
> at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
> at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1720)
> at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:180)
> at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.GeneratedMethodAccessor.invoke(null:-1)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
> at java.lang.reflect.Method.invoke(null:-1)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> {noformat}
> Bundles:
> | org.eclipse.core.runtime | 3.11.1.v20150903-1804 | 3.11.1.v20150903-1804 |
> | org.eclipse.e4.core.di | 1.5.0.v20150421-2214 | 1.5.0.v20150421-2214 |
> | org.eclipse.emf.ecore | 2.11.2.v20160208-0816 | 2.11.2.v20160208-0816 |
> | org.eclipse.jdt.core | 3.11.2.v20160128-0629 | 3.11.2.v20160128-0629 |
> | org.eclipse.jdt.ui | 3.11.2.v20151123-1510 | 3.11.2.v20151123-1510 |
> | org.eclipse.jface | 3.11.1.v20160128-1644 | 3.11.1.v20160128-1644 |
> | org.eclipse.jface.text | 3.10.0.v20150603-1752 | 3.10.0.v20150603-1752 |
> | org.eclipse.jst.jee | 1.0.700.v201404092004 | 1.0.700.v201404092004 |
> | org.eclipse.swt | 3.104.2.v20160212-1350 | 3.104.2.v20160212-1350 |
> | org.eclipse.ui | 3.107.0.v20150507-1945 | 3.107.0.v20150507-1945 |
> | org.jboss.tools.websockets.ui | 1.8.1.Final-v20160331-0952-B76 | 1.8.1.Final-v20160331-0952-B76 |
> Operating Systems:
> | Windows | 6.3.0 | 10.0.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/57279e32e4b0a54983...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22342) NullPointerException below SocketProposalComputer.computeCompletionProposals (thrown in WebAnnotationReader.analyzeCompilationUnit)
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22342?page=com.atlassian.jira.plugi... ]
Alexey Kazakov reassigned JBIDE-22342:
--------------------------------------
Assignee: Xavier Coulon
> NullPointerException below SocketProposalComputer.computeCompletionProposals (thrown in WebAnnotationReader.analyzeCompilationUnit)
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-22342
> URL: https://issues.jboss.org/browse/JBIDE-22342
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Reporter: Automated Error Reporting Bot
> Assignee: Xavier Coulon
>
> The following problem was reported via the automated error reporting:
> Message: Problems occurred when invoking code from plug-in: "org.eclipse.jdt.core".
> {noformat}
> java.lang.NullPointerException: null
> at org.eclipse.jst.jee.model.internal.WebAnnotationReader.analyzeCompilationUnit(WebAnnotationReader.java:144)
> at org.eclipse.jst.jee.model.internal.WebAnnotationReader.processAddedCompilationUnit(WebAnnotationReader.java:257)
> at org.eclipse.jst.jee.model.internal.WebAnnotationReader.processChangedCompilationUnit(WebAnnotationReader.java:270)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.recursevilyProcessCompilationUnits(AbstractAnnotationModelProvider.java:553)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.internalPostReconcile(AbstractAnnotationModelProvider.java:466)
> at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.elementChanged(AbstractAnnotationModelProvider.java:446)
> at org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1662)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1652)
> at org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.java:1504)
> at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1463)
> at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:770)
> at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:789)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1250)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1227)
> at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1192)
> at org.jboss.tools.websockets.ui.internal.ca.SocketProposalComputer.computeCompletionProposals(SocketProposalComputer.java:130)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:322)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:279)
> at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
> at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
> {noformat}
> Bundles:
> | org.eclipse.core.runtime | 3.11.1.v20150903-1804 | 3.11.1.v20150903-1804 |
> | org.eclipse.jdt.core | 3.11.2.v20160128-0629 | 3.11.2.v20160128-0629 |
> | org.eclipse.jdt.ui | 3.11.2.v20151123-1510 | 3.11.2.v20151123-1510 |
> | org.eclipse.jface.text | 3.10.0.v20150603-1752 | 3.10.0.v20150603-1752 |
> | org.eclipse.jst.jee | 1.0.700.v201404092004 | 1.0.700.v201404092004 |
> | org.eclipse.swt | 3.104.2.v20160212-1350 | 3.104.2.v20160212-1350 |
> | org.jboss.tools.websockets.ui | 1.8.1.Final-v20160331-0952-B76 | 1.8.1.Final-v20160331-0952-B76 |
> Operating Systems:
> | Windows | 6.1.0 | 6.1.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/572b697de4b0a54983...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months