[JBoss JIRA] (JBIDE-18214) NPE in errorlog when JBT is started
by Mickael Istria (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18214?page=com.atlassian.jira.plugi... ]
Mickael Istria commented on JBIDE-18214:
----------------------------------------
This is apparently caused by the fact that org.jboss.tools.community.central bundle isn't part of Abbriged JBoss Tools installation...
> NPE in errorlog when JBT is started
> -----------------------------------
>
> Key: JBIDE-18214
> URL: https://issues.jboss.org/browse/JBIDE-18214
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.2.0.CR1
> Reporter: Rastislav Wagner
> Assignee: Mickael Istria
> Labels: respin-a
> Fix For: 4.2.0.CR1
>
>
> I have an exception in error log when JBT is started
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.central.installation.InstallationChecker.getUnits(InstallationChecker.java:99)
> at org.jboss.tools.central.installation.InstallationChecker.getEarlyAccessUnits(InstallationChecker.java:79)
> at org.jboss.tools.central.installation.InstallationChecker.hasEarlyAccess(InstallationChecker.java:72)
> at org.jboss.tools.central.editors.JBossCentralEditor$HeaderText.updateTitle(JBossCentralEditor.java:632)
> at org.jboss.tools.central.editors.JBossCentralEditor$HeaderText.<init>(JBossCentralEditor.java:544)
> at org.jboss.tools.central.editors.JBossCentralEditor.createHeaderContents(JBossCentralEditor.java:220)
> at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPageContainer(SharedHeaderFormEditor.java:83)
> at org.jboss.tools.central.editors.JBossCentralEditor.createPageContainer(JBossCentralEditor.java:270)
> at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:360)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:140)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:321)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)
> at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)
> at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
> at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
> at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:983)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:737)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:731)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:92)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4622)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
> at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
> at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
> at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
> at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
> at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
> at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
> at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:488)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:454)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:692)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:385)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1126)
> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3182)
> at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3104)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3086)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3081)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3045)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3026)
> at org.jboss.tools.central.JBossCentralActivator.openJBossCentralEditor(JBossCentralActivator.java:380)
> at org.jboss.tools.central.JBossCentralActivator.getJBossCentralEditor(JBossCentralActivator.java:368)
> at org.jboss.tools.central.ShowJBossCentral$2.run(ShowJBossCentral.java:110)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3806)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3444)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 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:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17934) cordova-3.5.0.jar missing when exporting andriod project
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17934?page=com.atlassian.jira.plugi... ]
Vlado Pakan closed JBIDE-17934.
-------------------------------
Verified with JBDS 8.0.0.CR1-v20140831-0335-B201
> cordova-3.5.0.jar missing when exporting andriod project
> --------------------------------------------------------
>
> Key: JBIDE-17934
> URL: https://issues.jboss.org/browse/JBIDE-17934
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, browsersim
> Affects Versions: 4.2.0.Beta2
> Environment: Mac OSx 10.9.4, Eclipse Luna (4.4.0), Jboss Tools for Luna (4.2.0.Beta2), with Jboss Hybrid Mobile Tools + CordovaSim.
> Reporter: Asif Kilwani
> Assignee: Gorkem Ercan
> Fix For: 4.2.0.CR1
>
>
> When trying to test "run on Andriod device" or export native platform project
> Error generating the native android project
> /Users/Administrator/.cordova/lib/android/cordova/3.5.0/framework/cordova-3.5.0.jar (No such file or directory)
> I deleted framework and downloaded again from properties, but same.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17904) Server adapter: make .gitignore addition smarter and add comments to ignored files
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17904?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-17904:
-------------------------------------
Summary: Server adapter: make .gitignore addition smarter and add comments to ignored files (was: Make .gitignore addition smarter and add comments to ignored files)
> Server adapter: make .gitignore addition smarter and add comments to ignored files
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-17904
> URL: https://issues.jboss.org/browse/JBIDE-17904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Priority: Minor
> Labels: server_adapter
> Fix For: 4.2.0.CR2
>
>
> currently *Any* openshift app creation/import we add the following blindly:
> {code}
> target
> .settings/*
> !.settings/.jsdtscope
> .classpath
> {code}
> These does not make much sense for most apps besides java.
> Can't we be a bit more intelligent about it ?
> i.e. if the project is not a maven project, don't add 'target'
> if project is not a java project do not add .classpath
> And then I suggest adding comments to the .gitignore to make it clear what they do:
> {code}
> # if you want *all* eclipse settings to be shared comment this out, otherwise leave in.
> .settings/*
> # keep .jsdtscope to share javascript validations exclusions to avoid too many false positive warnings
> !.settings/.jsdtscope
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17904) Make .gitignore addition smarter and add comments to ignored files
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17904?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-17904:
-------------------------------------
Priority: Minor (was: Major)
> Make .gitignore addition smarter and add comments to ignored files
> ------------------------------------------------------------------
>
> Key: JBIDE-17904
> URL: https://issues.jboss.org/browse/JBIDE-17904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Priority: Minor
> Labels: server_adapter
> Fix For: 4.2.0.CR2
>
>
> currently *Any* openshift app creation/import we add the following blindly:
> {code}
> target
> .settings/*
> !.settings/.jsdtscope
> .classpath
> {code}
> These does not make much sense for most apps besides java.
> Can't we be a bit more intelligent about it ?
> i.e. if the project is not a maven project, don't add 'target'
> if project is not a java project do not add .classpath
> And then I suggest adding comments to the .gitignore to make it clear what they do:
> {code}
> # if you want *all* eclipse settings to be shared comment this out, otherwise leave in.
> .settings/*
> # keep .jsdtscope to share javascript validations exclusions to avoid too many false positive warnings
> !.settings/.jsdtscope
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17904) Make .gitignore addition smarter and add comments to ignored files
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17904?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-17904:
-------------------------------------
Fix Version/s: 4.2.0.CR2
(was: 4.3.x)
> Make .gitignore addition smarter and add comments to ignored files
> ------------------------------------------------------------------
>
> Key: JBIDE-17904
> URL: https://issues.jboss.org/browse/JBIDE-17904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Labels: server_adapter
> Fix For: 4.2.0.CR2
>
>
> currently *Any* openshift app creation/import we add the following blindly:
> {code}
> target
> .settings/*
> !.settings/.jsdtscope
> .classpath
> {code}
> These does not make much sense for most apps besides java.
> Can't we be a bit more intelligent about it ?
> i.e. if the project is not a maven project, don't add 'target'
> if project is not a java project do not add .classpath
> And then I suggest adding comments to the .gitignore to make it clear what they do:
> {code}
> # if you want *all* eclipse settings to be shared comment this out, otherwise leave in.
> .settings/*
> # keep .jsdtscope to share javascript validations exclusions to avoid too many false positive warnings
> !.settings/.jsdtscope
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17904) Make .gitignore addition smarter and add comments to ignored files
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17904?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-17904:
-------------------------------------
Labels: server_adapter (was: )
> Make .gitignore addition smarter and add comments to ignored files
> ------------------------------------------------------------------
>
> Key: JBIDE-17904
> URL: https://issues.jboss.org/browse/JBIDE-17904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Max Rydahl Andersen
> Labels: server_adapter
> Fix For: 4.2.0.CR2
>
>
> currently *Any* openshift app creation/import we add the following blindly:
> {code}
> target
> .settings/*
> !.settings/.jsdtscope
> .classpath
> {code}
> These does not make much sense for most apps besides java.
> Can't we be a bit more intelligent about it ?
> i.e. if the project is not a maven project, don't add 'target'
> if project is not a java project do not add .classpath
> And then I suggest adding comments to the .gitignore to make it clear what they do:
> {code}
> # if you want *all* eclipse settings to be shared comment this out, otherwise leave in.
> .settings/*
> # keep .jsdtscope to share javascript validations exclusions to avoid too many false positive warnings
> !.settings/.jsdtscope
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17854) ArrayStoreException while opening database in Hibernate Console
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17854?page=com.atlassian.jira.plugi... ]
Jiri Peterka updated JBIDE-17854:
---------------------------------
Priority: Critical (was: Blocker)
Environment: JBDS 8.0.0.CR1 (was: JBDS 8.0.0.)
Workaround Description: Create hibernate configuration file and set persistence.xml to use it.
Workaround: Workaround Exists
Workaround added. I'm not sure if scenario without specifically defined hibernate.cfg.xml is supported but AFAIR it was working once. [~koen.aers] , can you clarify?
> ArrayStoreException while opening database in Hibernate Console
> ---------------------------------------------------------------
>
> Key: JBIDE-17854
> URL: https://issues.jboss.org/browse/JBIDE-17854
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.CR1
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Priority: Critical
> Labels: respin-a
> Fix For: 4.2.0.CR1
>
>
> An internal error has occurred.
> java.lang.ArrayStoreException
> Used pom file
> {code}
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>testjpa</groupId>
> <artifactId>testjpa</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <dependencies>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-core</artifactId>
> <version>4.0.0.Final</version>
> </dependency>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-entitymanager</artifactId>
> <version>4.0.0.Final</version>
> </dependency>
> <dependency>
> <groupId>org.hibernate.javax.persistence</groupId>
> <artifactId>hibernate-jpa-2.0-api</artifactId>
> <version>1.0.0.Final</version>
> </dependency>
> <dependency>
> <groupId>com.h2database</groupId>
> <artifactId>h2</artifactId>
> <version>1.3.161</version>
> </dependency>
> </dependencies>
> <build>
> <sourceDirectory>src</sourceDirectory>
> <resources>
> <resource>
> <directory>src</directory>
> <excludes>
> <exclude>**/*.java</exclude>
> </excludes>
> </resource>
> </resources>
> <plugins>
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>3.1</version>
> <configuration>
> <source>1.8</source>
> <target>1.8</target>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months