[JBoss JIRA] Created: (JBIDE-5019) NPE in Unsert Tag dialog, for select* tags
by Yura Zhishko (JIRA)
NPE in Unsert Tag dialog, for select* tags
------------------------------------------
Key: JBIDE-5019
URL: https://jira.jboss.org/jira/browse/JBIDE-5019
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M4
Reporter: Yura Zhishko
Assignee: Alexey Kazakov
1) Open Palette
2) Try to DND any select* tag, for example, h:selectManyMenu from palette into Source Path
ASSERT: Insert tag dialog appeared.
3) Press Browse button
RESULT:
java.lang.NullPointerException
at org.jboss.tools.jst.web.kb.PageProcessor.getAttributes(PageProcessor.java:164)
at org.jboss.tools.jst.web.kb.PageProcessor.getAttributes(PageProcessor.java:160)
at org.jboss.tools.jst.jsp.outline.ValueHelper.getInitalInput(ValueHelper.java:129)
at org.jboss.tools.jst.jsp.outline.JSPTreeDialogView.createControl(JSPTreeDialog.java:87)
at org.jboss.tools.common.model.ui.wizards.query.AbstractQueryDialog.createDialogArea(AbstractQueryDialog.java:59)
at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:147)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.jboss.tools.common.model.ui.wizards.query.AbstractQueryWizard.setUpDialog(AbstractQueryWizard.java:117)
at org.jboss.tools.common.model.ui.wizards.query.AbstractQueryWizard.createDialog(AbstractQueryWizard.java:111)
at org.jboss.tools.common.model.ui.wizards.query.AbstractQueryWizard.execute(AbstractQueryWizard.java:104)
at org.jboss.tools.jsf.ui.attribute.adapter.JSFKnowledgeBaseAdapter.invoke0(JSFKnowledgeBaseAdapter.java:48)
at org.jboss.tools.jsf.ui.attribute.adapter.JSFKnowledgeBaseAdapter.invoke(JSFKnowledgeBaseAdapter.java:30)
at org.jboss.tools.common.model.ui.attribute.editor.ActiveFieldEditorEx.changePressed(ActiveFieldEditorEx.java:43)
at org.jboss.tools.common.model.ui.attribute.editor.StringButtonFieldEditor$1.widgetSelected(StringButtonFieldEditor.java:84)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.jboss.tools.common.model.ui.editors.dnd.DefaultDropCommand.execute(DefaultDropCommand.java:90)
at org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor$4.run(JSPTextEditor.java:758)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4771) Find Usages and Refactoring of methods used in EL expressions
by Tim Evers (JIRA)
Find Usages and Refactoring of methods used in EL expressions
-------------------------------------------------------------
Key: JBIDE-4771
URL: https://jira.jboss.org/jira/browse/JBIDE-4771
Project: JBoss Tools
Issue Type: Feature Request
Environment: Affects all versions of jbossTools.
Reporter: Tim Evers
When editing java code I often use the find usages function to see where method is being called from. This works great until I start using the method in a .xhtml file inside an EL Expression. Another developer in my team uses IDEA 8 as his IDE and their find usages function will find all occurances of the method being used by java code AND EL expressions.
This also fits into renaming/refactoring methods. IDEA 8 allows renaming/refactoring of methods and will automatically go update any .xhtml file where an EL Expression calls that method and change it to the new name etc.
This feature would be a great addition to the jbossTools package :)
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4886) Update Hibernate Search to latest 3.1.x version
by Clement Denis (JIRA)
Update Hibernate Search to latest 3.1.x version
-----------------------------------------------
Key: JBIDE-4886
URL: https://jira.jboss.org/jira/browse/JBIDE-4886
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.M3
Environment: Windows 7, JDK 6, Eclipse 3.5
Reporter: Clement Denis
In the Hibernate perspective, when I try to open the session factory for my entities, I get the following exception :
org.hibernate.search.SearchException: No document id in: com.test.entity.organisation.Organisation
at org.hibernate.search.engine.DocumentBuilder.<init>(DocumentBuilder.java:98)
at org.hibernate.search.impl.SearchFactoryImpl.initDocumentBuilders(SearchFactoryImpl.java:262)
at org.hibernate.search.impl.SearchFactoryImpl.<init>(SearchFactoryImpl.java:94)
at org.hibernate.search.impl.SearchFactoryImpl.getSearchFactory(SearchFactoryImpl.java:172)
at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:44)
at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:356)
at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1304)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:505)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:94)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:500)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
It's because the hibernate search jar provided with the plugin is the 3.0 version, and needs entities to be annotated with @DocumentId. These entities work fine in my appplication with the latest versions of hibernate and hibernate search (3.1.1).
As a workaround, I removed the hibernate-search.jar and lucene-core.2.2.0.jar from plugins\org.hibernate.eclipse_3.3.0.v200909110340M-H277-M3\lib\annotations, and added manually the latest versions in the classpath of the hibernate launch configuration.
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-5014) Can't install JBT from update and zip sites
by Yura Zhishko (JIRA)
Can't install JBT from update and zip sites
-------------------------------------------
Key: JBIDE-5014
URL: https://jira.jboss.org/jira/browse/JBIDE-5014
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.1.0.M4
Environment: http://download.jboss.org/jbosstools/builds/nightly/trunk/200910100106/al...
http://download.jboss.org/jbosstools/builds/nightly/trunk/200910100658/al...
eclipse-SDK-3.5.1-win32 with all required plug-ins installed
eclipse-jee-galileo-SR1-win32
Reporter: Yura Zhishko
Assignee: Nick Boldt
Priority: Critical
When try to update an Eclipse from Help -> Install new software (use links from environment description), I get the next error during install:
Cannot complete the install because one or more required items could not be found.
Software being installed: Struts Tools 3.1.0.v200910100658N-H179-M4 (org.jboss.tools.struts_feature.feature.group 3.1.0.v200910100658N-H179-M4)
Missing requirement: JBoss Tools RichFaces 3.1.0.v200910100658N-H179-M4 (org.jboss.tools.vpe 3.1.0.v200910100658N-H179-M4) requires 'bundle org.mozilla.xpcom 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Struts support for JBoss Visual Page Editor Plug-in 3.1.0.v200910100658N-H179-M4 (org.jboss.tools.struts.vpe.struts 3.1.0.v200910100658N-H179-M4)
To: bundle org.jboss.tools.vpe 0.0.0
Cannot satisfy dependency:
From: Struts Tools 3.1.0.v200910100658N-H179-M4 (org.jboss.tools.struts_feature.feature.group 3.1.0.v200910100658N-H179-M4)
To: org.jboss.tools.struts.vpe.struts [3.1.0.v200910100658N-H179-M4]
--
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
16 years, 6 months