[JBoss JIRA] (JBIDE-26156) Error "foreign key name ([name]) mapped to different tables!" reading schema to import the entities from db tables.
by Matt B (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26156?page=com.atlassian.jira.plugi... ]
Matt B commented on JBIDE-26156:
--------------------------------
It is not reproducible on H2 because this database doesn't permit constraint with existing name, the constraint name is unique.
Others database allow same costraint name for more tables.
> Error "foreign key name ([name]) mapped to different tables!" reading schema to import the entities from db tables.
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26156
> URL: https://issues.jboss.org/browse/JBIDE-26156
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.5.3.Final
> Environment: Windows 8.1
> Eclipse version: Oxygen.3a Release (4.7.3a)
> Jboss Tools 4.5.3.Final
> SAP Sql Anywhere v.17.0.8.4103
> Hibernate 5.2.17
> Reporter: Matt B
> Assignee: Koen Aers
> Priority: Critical
>
> Default name of sql anywhere's foreign key is the name of the destination table.
> If more tables link to same table, can be present di default more foreign key with same name.
> importing the entities from db tables do the error in subject
> Please manage this case.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26178) Stacks errors when creating new server
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26178?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-26178.
---------------------------------
Fixed.
> Stacks errors when creating new server
> --------------------------------------
>
> Key: JBIDE-26178
> URL: https://issues.jboss.org/browse/JBIDE-26178
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.6.0.Final
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.6.0.Final
>
> Attachments: missing-commas.png, parse-errors.png
>
>
> When you try to create a server for the first time, stacks.yaml (and pre-stacks.yaml) is downloaded and currently it's invalid yaml, so there are errors thrown in the Error Log view.
> !parse-errors.png!
> One example:
> {code}
> Can't access or parse https://raw.githubusercontent.com/jboss-developer/jboss-stacks/1.0.0.Fina...
> {code}
> {code}
> while parsing a flow mapping
> in "<reader>", line 201, column 12:
> labels: {
> ^
> expected ',' or '}', but got Value
> in "<reader>", line 206, column 25:
> wtp-runtime-type: org.jboss.ide.eclipse.as.runti ...
> ^
> at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowMappingKey.produce(ParserImpl.java:734)
> at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:160)
> at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:145)
> at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
> at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159)
> at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
> at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159)
> at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:204)
> at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:157)
> at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
> at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159)
> at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
> at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
> at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
> at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
> at org.yaml.snakeyaml.Yaml.load(Yaml.java:411)
> at org.jboss.jdf.stacks.parser.Parser.parse(Parser.java:55)
> at org.jboss.tools.stacks.core.model.StacksManager.getStacksFromFile(StacksManager.java:177)
> at org.jboss.tools.stacks.core.model.StacksManager.getStacksFromURL(StacksManager.java:163)
> at org.jboss.tools.stacks.core.model.StacksManager.getStacks(StacksManager.java:154)
> at org.jboss.tools.stacks.core.model.StacksManager.getStacks(StacksManager.java:141)
> at org.jboss.tools.stacks.core.model.StacksManager.getStacks(StacksManager.java:106)
> at org.fusesource.ide.server.fuse.core.runtime.integration.FuseDownloadRuntimesProvider.getStacks(FuseDownloadRuntimesProvider.java:29)
> at org.fusesource.ide.server.karaf.core.runtime.integration.AbstractStacksDownloadRuntimesProvider.loadDownloadableRuntimes(AbstractStacksDownloadRuntimesProvider.java:66)
> at org.fusesource.ide.server.karaf.core.runtime.integration.AbstractStacksDownloadRuntimesProvider.getDownloadableRuntimes(AbstractStacksDownloadRuntimesProvider.java:50)
> at org.jboss.tools.runtime.core.internal.RuntimeExtensionManager.loadDownloadableRuntimesFromProviders(RuntimeExtensionManager.java:273)
> at org.jboss.tools.runtime.core.internal.RuntimeExtensionManager.loadDownloadRuntimes(RuntimeExtensionManager.java:257)
> at org.jboss.tools.runtime.core.internal.RuntimeExtensionManager.getDownloadRuntimes(RuntimeExtensionManager.java:199)
> at org.jboss.tools.runtime.core.internal.RuntimeExtensionManager.getDownloadRuntimes(RuntimeExtensionManager.java:187)
> at org.jboss.tools.runtime.core.RuntimeCoreActivator.getDownloadRuntimes(RuntimeCoreActivator.java:136)
> at org.jboss.tools.as.runtimes.integration.util.DownloadRuntimeServerUtil.getDownloadRuntimes(DownloadRuntimeServerUtil.java:41)
> at org.jboss.tools.as.runtimes.integration.ui.composites.DownloadRuntimeHyperlinkComposite$1.run(DownloadRuntimeHyperlinkComposite.java:169)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
> Apparently [~rob.stryker] broke the file 14 hours ago with this commit:
> https://github.com/jboss-developer/jboss-stacks/commit/48ff290ca4c3f8e901...
> See the missing commas here:
> !missing-commas.png!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-25557) OpenJDK9 + org.jboss.forge: org.jboss.forge.furnace.exception.ContainerException
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25557?page=com.atlassian.jira.plugi... ]
Jeff MAURY closed JBIDE-25557.
------------------------------
Resolution: Done
> OpenJDK9 + org.jboss.forge: org.jboss.forge.furnace.exception.ContainerException
> --------------------------------------------------------------------------------
>
> Key: JBIDE-25557
> URL: https://issues.jboss.org/browse/JBIDE-25557
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.5.2.AM3
> Environment: FC27 + OpenJDK9
> Red Hat JBoss Developer Studio Version: 11.2.0.AM3
> Reporter: Josef Kopriva
> Assignee: Jeff MAURY
> Priority: Critical
> Fix For: 4.9.x
>
>
> Forge does not start:
> {code:java}
> null
> org.eclipse.core.jobs
> Error
> Thu Jan 11 12:59:40 CET 2018
> An internal error occurred during: "Starting JBoss Forge 3.7.2.Final".
> org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.forge.addon.projects.ProjectFactory] could be found in any started addons.
> at org.jboss.forge.furnace.impl.addons.ImportedImpl.get(ImportedImpl.java:79)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
> at org.jboss.forge.furnace.services.Imported_$$_javassist_4e1fc78d-0b5f-4839-8d1e-22b7d372d229.get(Imported_$$_javassist_4e1fc78d-0b5f-4839-8d1e-22b7d372d229.java)
> at org.jboss.tools.forge.core.furnace.FurnaceService.lookup(FurnaceService.java:95)
> at org.jboss.tools.forge.ui.util.ForgeHelper.initializeFurnaceRuntime(ForgeHelper.java:99)
> at org.jboss.tools.forge.ui.util.ForgeHelper.access$0(ForgeHelper.java:89)
> at org.jboss.tools.forge.ui.util.ForgeHelper$1.runInWorkspace(ForgeHelper.java:57)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> {code}
> {code:java}
> null
> org.eclipse.ui
> Error
> Thu Jan 11 12:59:40 CET 2018
> Unhandled event loop exception
> org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.forge.addon.shell.spi.ShellHandle] could be found in any started addons.
> at org.jboss.forge.furnace.impl.addons.ImportedImpl.get(ImportedImpl.java:79)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
> at org.jboss.forge.furnace.services.Imported_$$_javassist_4e1fc78d-0b5f-4839-8d1e-22b7d372d229.get(Imported_$$_javassist_4e1fc78d-0b5f-4839-8d1e-22b7d372d229.java)
> at org.jboss.tools.forge.core.furnace.FurnaceService.lookup(FurnaceService.java:95)
> at org.jboss.tools.forge.ui.internal.cli.AeshConsole.start(AeshConsole.java:46)
> at org.jboss.tools.aesh.ui.view.AbstractTextViewer$1.run(AbstractTextViewer.java:46)
> at org.eclipse.ui.internal.PendingSyncExec.run(PendingSyncExec.java:58)
> at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:168)
> at org.eclipse.ui.internal.UISynchronizer.lambda$0(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4577)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4186)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> 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:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months