[JBoss JIRA] Created: (JBIDE-2960) Null exception
by Michael Sorokin (JIRA)
Null exception
---------------
Key: JBIDE-2960
URL: https://jira.jboss.org/jira/browse/JBIDE-2960
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 2.0.0.Beta1
Environment: linux os;
Reporter: Michael Sorokin
Assignee: Vitali Yemialyanchyk
Priority: Minor
Stack trace:
java.lang.NullPointerException
at org.hibernate.eclipse.mapper.extractor.HBMInfoExtractor.getNearestType(HBMInfoExtractor.java:587)
at org.hibernate.eclipse.mapper.extractor.FieldPropertyHandler.attributeCompletionProposals(FieldPropertyHandler.java:59)
at org.hibernate.eclipse.mapper.editors.HBMXMLContentAssistProcessor.getAttributeValueProposals(HBMXMLContentAssistProcessor.java:51)
at org.hibernate.eclipse.mapper.editors.xpl.BaseXMLContentAssistProcessor.addAttributeValueProposals(BaseXMLContentAssistProcessor.java:60)
at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1267)
at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1301)
at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:105)
at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1409)
at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:300)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1836)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:550)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:485)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:479)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1664)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:437)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:472)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:571)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:512)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1436)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1157)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1194)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:698)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2765)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:702)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1543)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Customers.hbm.xml:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Oct 22, 2008 2:12:44 PM by Hibernate Tools 3.2.2.GA -->
<hibernate-mapping>
<class name="org.Customers" table="Customers" catalog="hibernate">
<id name="id" type="java.lang.Integer">
<column name="id" />
<generator class="identity" />
</id>
<property name="name" type="string">
<column name="name" length="200" />
</property>
<property name="lastname" type="string">
<column name="lastname" length="200" />
</property>
<property name="city" type="string">
<column name="city" length="200" />
</property>
<property name="street" type="string">
<column name="street" length="200" />
</property>
<component name="ord">
<property name=""></property>
</component>
</class>
</hibernate-mapping>
...
<component name="ord"> <- here code assist does not work (for windows all ok)
<property name=""></property> <- here we get exception (for windows all ok)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-2909) java.lang.StringIndexOutOfBoundsException during workbench travelling
by jarkko Lietolahti (JIRA)
java.lang.StringIndexOutOfBoundsException during workbench travelling
---------------------------------------------------------------------
Key: JBIDE-2909
URL: https://jira.jboss.org/jira/browse/JBIDE-2909
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: eclipse.buildId=M20080911-1700
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_LHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA_CMPRSS
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fi_FI
Command-line arguments: -os linux -ws gtk -arch x86_64
Reporter: jarkko Lietolahti
Priority: Minor
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1092)
at org.jboss.tools.common.model.filesystems.impl.AbstractXMLFileImpl.setErrors(AbstractXMLFileImpl.java:74)
at org.jboss.tools.common.model.filesystems.impl.AbstractXMLFileImpl.setErrors(AbstractXMLFileImpl.java:59)
at org.jboss.tools.common.model.filesystems.impl.FileXMLImpl.updateMarkers(FileXMLImpl.java:52)
at org.jboss.tools.common.model.filesystems.impl.FileXMLImpl.get(FileXMLImpl.java:34)
at org.jboss.tools.common.model.filesystems.impl.FileAnyImpl.toFileName(FileAnyImpl.java:126)
at org.jboss.tools.common.model.filesystems.impl.FileAnyImpl.name(FileAnyImpl.java:112)
at org.jboss.tools.common.model.filesystems.impl.FileAnyImpl.getPathPart(FileAnyImpl.java:120)
at org.jboss.tools.common.model.impl.RegularChildren.addObject(RegularChildren.java:125)
at org.jboss.tools.common.model.impl.RegularObjectImpl.addChild_0(RegularObjectImpl.java:71)
at org.jboss.tools.common.model.impl.XModelObjectImpl.addChild(XModelObjectImpl.java:250)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:219)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.createFileObject(FolderImpl.java:192)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl._loadChild(FolderImpl.java:166)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.loadChildren(FolderImpl.java:141)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.loadChildren(FolderImpl.java:133)
at org.jboss.tools.common.model.impl.RegularObjectImpl.getChildren(RegularObjectImpl.java:56)
at org.jboss.tools.common.verification.vrules.layer.VObjectImpl.getChildren(VObjectImpl.java:46)
at org.jboss.tools.common.verification.vrules.impl.VTaskImpl.apply(VTaskImpl.java:130)
at org.jboss.tools.common.verification.vrules.impl.VTaskImpl.run(VTaskImpl.java:81)
at org.jboss.tools.common.verification.vrules.core.resources.GlobalBuilderImpl.execute(GlobalBuilderImpl.java:45)
at org.jboss.tools.common.verification.vrules.core.resources.VerifyBuilder.build(VerifyBuilder.java:39)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3351) JBoss Tool is not able to provide content assist information from an ejb module (Project created by Maven Archetype and converted to Seam Project with Seam Wizard)
by Dirk Pitt (JIRA)
JBoss Tool is not able to provide content assist information from an ejb module (Project created by Maven Archetype and converted to Seam Project with Seam Wizard)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-3351
URL: https://jira.jboss.org/jira/browse/JBIDE-3351
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: Eclipse configuration I had placed as attachement I used Seam 2.1.0.SP1 and JBoss 4.2.3.GA
Reporter: Dirk Pitt
Fix For: 3.0.0.cr1
I had created a Seam Project with Maven Archetype from Wasley Hales, project functions correctly and deploys to JBoss 4.2.3.GA...
Then I try to configure this project to work with JBoss Tool Seam functionality. Everything functions correctly in the web module for content assist is there in JSF and in Java. When I create a new Session Bean at web project with @Name annotations and I able to see this newly created Seam Compoent in Content Assist.
But when I create Seam Components in ejb module, these are not availible in the content assist...
Sample project is also here as attachement.....
This subject is also discussed in the forum thread
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months