[JBoss JIRA] Created: (JBIDE-5989) NullPointerException occures when using CA
by Victor Rubezhny (JIRA)
NullPointerException occures when using CA
------------------------------------------
Key: JBIDE-5989
URL: https://jira.jboss.org/jira/browse/JBIDE-5989
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.CR2
Reporter: Victor Rubezhny
Assignee: Alexey Kazakov
When using CA on XHTML:
java.lang.NullPointerException
at org.jboss.tools.jst.web.kb.internal.taglib.AbstractTagLib.getComponents(AbstractTagLib.java:109)
at org.jboss.tools.jst.web.kb.internal.taglib.AbstractTagLib.getComponents(AbstractTagLib.java:247)
at org.jboss.tools.jst.web.kb.internal.taglib.AbstractTagLib.getComponentsByPrefixes(AbstractTagLib.java:188)
at org.jboss.tools.jst.web.kb.internal.taglib.AbstractTagLib.getProposals(AbstractTagLib.java:414)
at org.jboss.tools.jst.web.kb.PageProcessor.getProposals(PageProcessor.java:67)
at org.jboss.tools.jst.jsp.contentassist.XmlContentAssistProcessor.addTagNameProposalsForPrefix(XmlContentAssistProcessor.java:125)
at org.jboss.tools.jst.jsp.contentassist.XmlContentAssistProcessor.addTagNameProposals(XmlContentAssistProcessor.java:217)
at org.jboss.tools.jst.jsp.contentassist.XmlContentAssistProcessor.addTagNameProposals(XmlContentAssistProcessor.java:179)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.computeTagNameProposals(AbstractXMLContentAssistProcessor.java:229)
at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1282)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.computeCompletionProposals(AbstractXMLContentAssistProcessor.java:541)
at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1407)
at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.computeCompletionProposals(AbstractXMLContentAssistProcessor.java:91)
at org.jboss.tools.common.text.xml.contentassist.SortingCompoundContentAssistProcessor.computeCompletionProposals(SortingCompoundContentAssistProcessor.java:234)
at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:303)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1832)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:556)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:488)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1660)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:446)
at org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor$JSPStructuredTextViewer.doOperation(JSPTextEditor.java:678)
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:470)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1191)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1368)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4047)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3940)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
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, 1 month
[JBoss JIRA] Created: (JBIDE-3508) Validation of orphaned namespaced end tags, i.e. </...>, does not happen for xhtml in VPE
by Karl Philipp (JIRA)
Validation of orphaned namespaced end tags, i.e. </...>, does not happen for xhtml in VPE
-----------------------------------------------------------------------------------------
Key: JBIDE-3508
URL: https://jira.jboss.org/jira/browse/JBIDE-3508
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing, Visual Page Editor core
Affects Versions: 3.0.0.CR2
Environment: Windows XP SP3, Eclipse 3.4 "GANYMEDE", Web Tools 3.0.3, RichFaces-VPE-win32-3.0.0.CR2-N200901081811, RichFaces 3.2.2.SR1, JSF 1.2 RI, Facelets 1.1.14
Reporter: Karl Philipp
Orphaned namedspaced end tags such as </rich:panel> are not detected by the validation algorithm in contrast to orphaned namedspaced start tags:
<h:form id="searchForm">
<rich:panel>
<f:facet name="header">
<h:outputText value="ServiceProvider" />
</f:facet>
<a4j:commandButton value="Search" action="#{sps.search}" />
</rich:panel>
</h:form>
</rich:panel>
The last end tag </rich:panel> above is orphaned but not detected as invalid by VPE.
--
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, 1 month
[JBoss JIRA] Created: (JBIDE-5957) Exception during generation entities: "Could not get list of suggested identity strategies from database"
by Aliaksey Nis (JIRA)
Exception during generation entities: "Could not get list of suggested identity strategies from database"
---------------------------------------------------------------------------------------------------------
Key: JBIDE-5957
URL: https://jira.jboss.org/jira/browse/JBIDE-5957
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate, Seam
Affects Versions: 3.1.0.CR2
Environment: WindowsXP SP2
JBoss Developer Studio
Version: 3.0.0
Build id: jbdevstudio-eap-win32-3.0.0.v201002232140M-H180-CR2
JRE 1.6
Reporter: Aliaksey Nis
Priority: Critical
EXECUTE: Download and launch sample HSQL database(attached).
EXECUTE: Create Seam 2.2 war project. In connection profile set target db - this sample db(hsql://localhost:1701).
EXECUTE: Expand database node in Hibernate Configurations view.
FAILURE: Exception thrown about "naming strategy".
EXECUTE: Select this Seam project > New > Generate Entities > Reverse.
FAILURE: Exception thrown about "naming strategy". Error log attached.
--
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, 1 month
[JBoss JIRA] Created: (JBDS-1083) Hibernate guide update
by Svetlana mukhina (JIRA)
Hibernate guide update
-----------------------
Key: JBDS-1083
URL: https://jira.jboss.org/jira/browse/JBDS-1083
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Task
Components: Doc - Hibernate
Affects Versions: 3.0.0.M4-doc
Reporter: Svetlana mukhina
Assignee: Svetlana mukhina
Fix For: 3.0.0.CR2-doc
In documentation is written to install Hibernate Tools plugins wtp is necessary, in real life the user needs these steps to install it (if he download it separately - not from update site): http://loracular.blogspot.com/2009/09/steps-to-install-hibernate-tools-fo...
4.2 - refresh figures 4.1 & 4.2; it is necessary to mention that it is possible do not select any class/package on 4.1 - as result blank hbm.xml will be generated, plus checkbox on right to control dependences depth, i.e. there is class A in the list, if class A has reference on class B, then hbm.xml will be generated for class B also. Now for hbm.xml generation there is a preview results page, as Generate Hibernate/JPA annotations has - is necessary to add description;
The same for Generate Hibernate/JPA annotations - is necessary to describe possibility to control depth.
Figure 4.5 - is necessary to refresh, cause there is possibility to specify dialect + describe this in documentation;
Figure 4.10 - refresh picture cause contextual menu little bit changed;
"4.4.2. - right click on the configuration in Hibernate Configurations View->Edit Configuration or double click on console configuration" - is necessary to mention about "double click"
Figure 4.13 - is necessary to mention that it is possible to specify absolute directory path as example "d:\temp" - in the Table 4.6;
Figure 4.33 - refresh - now it is possible "pin" HQL editor & Criteria editor for one tab in Hibernate Query Results view; it also possible to rename tab (by default the name is a whole query - too long for some cases) - select tab -> Properties view -> Name;
Figure 4.34 - refresh - contextual menu updated;
Figure 4.36 - refresh - contextual menu updated;
Figure 4.39 & Figure 4.40 - refresh - Outline view has a little change - it is possible to switch on/off alphabetical sorting;
Figure 4.41 - refresh - contextual menu updated, plus update description;
Figure 4.43 & Figure 4.44 - refresh - cause now diagram headers are shorter;
For Hibernate Mapping Diagram there is no description of toolbar and it's functionality; Refresh button refresh diagram - if console configuration was changed;
Zoom combobox - is obligatory to mention what selected zoom will be used for diagram printing, if the user wants to put diagram on one print page he should select - "Page" in zoom combobox;
Auto layout & Show|Hide connections & Expand|Collapse & Show|Hide shape(s) - is necessary to add description;
Figure 4.45 - refresh - cause new context menu;
Is necessary to describe: "Close Configuration" - this close hibernate console configuration, disconnect from DB, free other resources (for example unlock jar libs for windows);
Figure 4.46 - refresh - cause new context menu;
Figure 4.49 - refresh - cause white background icon, the same for Figure 4.50 & Figure 4.51;
"4.11. Hibernate:add JPA annotations view" - is not right - should be "4.11. Hibernate:add JPA annotations refactoring"
Figure 4.52 - refresh; add new screenshort for back page - now it is possible back and update selected classes and packages - the same as generate hbm.xml has;
"Starting Hibernate:add JPA annotations view" - this is not a view - this is dialog -> Figure 4.53 - refresh it;
It is not mentioned in documentation what "Error Log View" - is very important with Hibernate Tools plugins - it should be recommended for users to switch it on in Hibernate perspective and use "Error Log View" if there are some trubles to configure Hibernate console configuration;
prepare example projects which is used a as base project for documentation for user to download
--
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, 1 month
[JBoss JIRA] Created: (JBIDE-4667) Import Tags from TLD file works wrong after second calling
by Yura Zhishko (JIRA)
Import Tags from TLD file works wrong after second calling
----------------------------------------------------------
Key: JBIDE-4667
URL: https://jira.jboss.org/jira/browse/JBIDE-4667
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Alexey Kazakov
Priority: Minor
1) Create any project
2) Open JBoss Palette
3) Press Import button
4) In Import tags from TLD File dialog press Browse... button
5) Choose any tag lib, for example, x-1_0-rt.tld
6) Press OK button
ASSERT: All fields in Import tags from TLD File dialog: TLD File*, Name*, Default Prefix, Library URI are filled
7) Press Cancel button
8) Repeat steps 3-6
ASSERT: Result is the same: All fields in Import tags from TLD File dialog: TLD File*, Name*, Default Prefix, Library URI are filled.
ASSERT FAILED: Only TLD File* path is filled.
--
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, 1 month