[JBoss JIRA] (FORGE-755) NullPointerException thrown when attempting to install a non-addon dependency
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-755?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-755.
------------------------------------
Resolution: Done
George must have fixed this. Can no longer reproduce.
> NullPointerException thrown when attempting to install a non-addon dependency
> -----------------------------------------------------------------------------
>
> Key: FORGE-755
> URL: https://issues.jboss.org/browse/FORGE-755
> Project: Forge
> Issue Type: Bug
> Components: Init Scripts, Maven Integration
> Reporter: Lincoln Baxter III
> Fix For: 2.0.0.Alpha2
>
>
> {code}
> sharkbook:core lbaxter$ forge --install org.jboss.forge:maven,2.0.0-SNAPSHOT
> java.lang.NullPointerException
> at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
> at org.jboss.forge.maven.container.MavenDependencyResolver.resolveDependencyHierarchy(MavenDependencyResolver.java:228)
> at org.jboss.forge.addon.manager.AddonManager.install(AddonManager.java:41)
> at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:87)
> at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:71)
> at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:35)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (FORGE-813) Implement a strategy to fix the open session in view problem in the generated REST resources
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-813?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-813:
----------------------------------
Status: Closed (was: Pull Request Sent)
Resolution: Done
Merged
> Implement a strategy to fix the open session in view problem in the generated REST resources
> --------------------------------------------------------------------------------------------
>
> Key: FORGE-813
> URL: https://issues.jboss.org/browse/FORGE-813
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE APIs
> Affects Versions: 1.2.2.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 1.2.3.Final
>
>
> The generated REST resources for objects with 1:M and M:M relations, require eager fetching to be enabled on the related JPA entities, to bypass the open-session-in-view problem.
> The generated REST resources should not require the entities themselves to use eager fetching by default. It would be better to use specialized JPQL queries to achieve this.
> Or for that matter, use a combination of specialized JPQL queries that limit the objects being retrieved (say, one-level deep) and custom serializers that can operate on this partial object graph.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month