[jira] [Commented] (NETBEANS-3337) Operation "read-attribute" failed - Hibernate

2020-03-25 Thread Emmanuel Hugonnet (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066483#comment-17066483
 ] 

Emmanuel Hugonnet commented on NETBEANS-3337:
-

[~MichDem] it seems to me that the issue is in WildFly reading some metrics 
value from hibernate. Do you have hibernate in your war ? Can you deploy your 
war file on wildfly and open a jboss-cli to execute:
/deployment=SPERP40.war/subsystem=jpa:read-resrource(recursive, include-runtime)

> Operation "read-attribute" failed - Hibernate
> -
>
> Key: NETBEANS-3337
> URL: https://issues.apache.org/jira/browse/NETBEANS-3337
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Hibernate
>Affects Versions: 11.1, 11.2
> Environment: Ubuntu: 18.04
> Java: 8 and 13
> WildFly: 15, 17 and 18
> Hibernate: 5.2.16
>Reporter: Michał Kudela
>Assignee: Emmanuel Hugonnet
>Priority: Major
>  Labels: Hibernate, wildfly
> Attachments: server log hibernate error.txt
>
>
> When deploying project to WildFly server it throws error:
> Operation ("read-attribute") failed - address: ([
>  ("deployment" => "SPERP40.war"),
>  ("subsystem" => "jpa"),
>  ("hibernate-persistence-unit" => "SPERP40.war#SPERP4DS"),
>  ("entity-cache" => "DatabaseEntieties.Axdzpdinp")
> ]): java.lang.NullPointerException ...
>  
> Full log in attachment (from the error onward)
> The class Axdzpdinp is written correctly and there has been no changes since
> Also from observations I noticed that deployment works in 11.0 and in some 
> earlier versions of 11.1 (current 11.1 and 11.2 have this problem)
> I assume the error comes from NetBeans because changing WildFly version does 
> not affect this error, while changing NetBeans version (downgrade) makes the 
> error go away



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3337) Operation "read-attribute" failed - Hibernate

2019-12-23 Thread Laszlo Kishalmi (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17002627#comment-17002627
 ] 

Laszlo Kishalmi commented on NETBEANS-3337:
---

Demoted from blocker as not affects all the users. Please provide a sample 
project and steps for reproduction. Unfortunately the attached stacktrace does 
not have anything NetBeans specific.

> Operation "read-attribute" failed - Hibernate
> -
>
> Key: NETBEANS-3337
> URL: https://issues.apache.org/jira/browse/NETBEANS-3337
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Hibernate
>Affects Versions: 11.1, 11.2
> Environment: Ubuntu: 18.04
> Java: 8 and 13
> WildFly: 15, 17 and 18
> Hibernate: 5.2.16
>Reporter: Michał Kudela
>Priority: Major
>  Labels: Hibernate, wildfly
> Attachments: server log hibernate error.txt
>
>
> When deploying project to WildFly server it throws error:
> Operation ("read-attribute") failed - address: ([
>  ("deployment" => "SPERP40.war"),
>  ("subsystem" => "jpa"),
>  ("hibernate-persistence-unit" => "SPERP40.war#SPERP4DS"),
>  ("entity-cache" => "DatabaseEntieties.Axdzpdinp")
> ]): java.lang.NullPointerException ...
>  
> Full log in attachment (from the error onward)
> The class Axdzpdinp is written correctly and there has been no changes since
> Also from observations I noticed that deployment works in 11.0 and in some 
> earlier versions of 11.1 (current 11.1 and 11.2 have this problem)
> I assume the error comes from NetBeans because changing WildFly version does 
> not affect this error, while changing NetBeans version (downgrade) makes the 
> error go away



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists