[jira] [Commented] (NETBEANS-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

I don't know. Best of all would be if you'd also join the mailing lists (see 
netbeans.apache.org) to ask and discuss questions there.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Like I wrote, I will do that.

I was just wondering about "Compile on Save" being available now (and obviously 
working fine) without nb-javac installed.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

We'll be able to progress further with this if you can create an issue for 
nb-javac, specifically. Make the subject and step by step procedure as specific 
and as closely related to nb-javac as possible.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Thanks, I will do that.

I just noticed that (in 12.4 Beta 1), it is possible to enable "Compile on 
Save" without having the nb-javac module installed. And when running a test, it 
says:

{{Running NetBeans Compile On Save execution. Phase execution is skipped and 
output directories of dependency projects (with Compile on Save turned on) will 
be used instead of their jar artifacts.}}

The same happens when debugging. Is that what you meant with "no need for 
nb-javac", is that new in 12.4?

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

Understood. Yes, I see what you mean.

nb-javac will be available for 12.4 when 12.4 is released, end of May. 
Hopefully, that will help.

If there's a problem with nb-javac specifically, please create an issue for 
that, specifically. Make the subject and step by step procedure as specific and 
as closely related to nb-javac as possible.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

I tried 12.4 Beta 1 and did everything by the book - git clone from NetBeans, 
opened the parent project and did a full build. Which I have actually done 
already numerous times in my previous tests.

Like I wrote before, if I don't install nb-javac, the projects open without 
errors.

But without "Compile on Save", if I make changes in a Keycloak module, and 
everything looks fine in NetBeans, a test in my project fails with a 
compilation error unless I rebuild the Keycloak module - which can take quite 
some time and is not necessary with "Compile on Save".

So yes, without nb-javac everything works fine, but running tests and debugging 
can be very inconvenient without "Compile on Save".

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

I was using 12.4 Beta 1, which doesn't exist yet, but you can try it out:

https://lists.apache.org/thread.html/r899bc729870651b46a7891003c46430fb40ad85c4dd06866aeb76660%40%3Cdev.netbeans.apache.org%3E

I was running the above on OpenJDK 16, no need for nb-javac, as far as I'm 
aware.

"Compile on Save" I didn't have enabled.

I suggest you use NetBeans to do the git clone and also that you open the root 
of the project and build that. Sorry, if you're going to do it some other way 
then I'm not going to be able to support your scenario -- building the whole 
project first is a logical way to start.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, keycloak.png, 
> netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Thanks for trying that out!

Did you have the nb-javac plugin installed when you opened the projects? I did 
have it installed, and I have found no other way to get rid of the errors than 
removing the module and restarting. Simply disabling "Compile on Save" does not 
help, and removing the cache etc. does not help either.

If I start with a clean instance of NetBeans and cancel the installation of 
nb-javac at first startup, then I can also open the projects without errors. 
After that, I can even install nb-javac and enable it on all projects, and can 
benefit from "Compile on Save" without any errors. Of course I don't know how 
long that condition lasts...

I could live with disabling "Compile on Save" for those projects where there 
are problems, but if I can't use it at all or have to uninstall/reinstall it 
all the time, then I think it is very inconvenient.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, 
> Screenshot_20210403_185351.png, keycloak.png, netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

Doesn't look like you've built much of the project. Why not open the root and 
build it all?

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: Keycloak-cannot_find_symbol2.png, 
> Screenshot_20210403_185351.png, keycloak.png, netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

For me, everything seems OK. I didn't do anything on the command line, though, 
i.e., used Git integration in NetBeans to clone keycloak and then opened the 
parent and built it.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-03 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

To conclude my stream of comments here: I did not find a reliable way to open a 
project like Keycloak in NetBeans without errors. I've tried all of the below 
in virtually any combination and order:
 * Switching Java versions (nb-javac became unavailable with Java 14)
 * "Compile on Save" enabled and disabled
 * Clearing the cache
 * Rebuilding the project(s) with Maven
 * Restarting NetBeans

Without a lot of luck (my previous comment) it seems impossible to get rid of 
the "cannot find symbol" errors.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Argh. I switched now to OpenJDK 11 in netbeans/etc/netbeans.conf. After 
starting NetBeans it offers me again to install nb-javac and asked me to 
restart after that, which it didn't do with Java 14. Now "Compile on Save" is 
available again and even when I enable it, there are no more issues with 
"cannot find symbol". So all works fine now.

Does nb-javac not work properly with Java 14?

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

And what is also a shame is that "Compile on Save" is now disabled in all 
projects and can't be enabled again.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

OK I just see that running tests + debugging is not fun without "Compile on 
Save". So I prefer to use nb-javac and delete the cache once in a while...

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Indeed that solves it, too. More precisely, unchecking "Compile on Save" in 
keycloak-sevices + "Clean and Build" solved it for that project. Doing the same 
for the separate project that has keycloak-sevices as a dependency did not 
solve the issue there. After deleting ~/.netbeans/12.3/modules + restart then 
solved it there as well.

What puzzles me now is that when I make a change in a class in one project, it 
is immediately reflected in another project. But I thought this is the job of 
nb-javac via the "Compile on Save" option? Or is that really only required for 
debugging and running tests without having to build manually?

Unfortunately the link "Learn more about Compile on Save feature in Maven 
Projects" 
([https://netbeans.apache.org/wiki/FaqCompileOnSave.asciidoc#Using_Compile_on_Save_in_Maven_Projects)]
 is broken.

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5532:
-

Or try without nb-javac and see if that solves it?

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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-5532) Project (Keycloak) does not load properly

2021-04-02 Thread Jira


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

Torsten Römer commented on NETBEANS-5532:
-

Closing NetBeans, deleting {color:#5454ff}~/.cache/netbeans/12.3{color}, and 
starting NetBeans again solved the remaining "cannot find symbol" for me. Now 
content-assist correctly lists the types in for example org.keycloak.crypto.*.

Of course, starting and opening the project(s) takes a bit time after deleting 
the cache - maybe it is enough to delete particular files from it?

So, is this a problem with stale/invalid classfile cache? Maybe NetBeans cached 
the classfiles created by the regular Maven build when I opened the project, 
but these classfiles don't always work for NetBeans internally? And when the 
cache is deleted, nb-javac compiles the classfiles?

> Project (Keycloak) does not load properly
> -
>
> Key: NETBEANS-5532
> URL: https://issues.apache.org/jira/browse/NETBEANS-5532
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
> Environment: *Product Version:* Apache NetBeans IDE 12.3
> *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12-Ubuntu-120.04
> *Runtime:* OpenJDK Runtime Environment 14.0.2+12-Ubuntu-120.04
> *System:* Linux version 5.4.0-70-generic running on amd64; UTF-8; de_DE (nb)
>Reporter: Torsten Römer
>Priority: Major
> Attachments: netbeans-test.tar.gz
>
>
> I did the following:
>  * git clone [https://github.com/keycloak/keycloak.git] (13.0.0-SNAPSHOT)
>  * cd keycloak; mvn clean install -DskipTests (build successful)
>  * Open keycloak-parent and keycloak-services in NetBeans
>  * Created a simple project with a dependency to 
> org.keycloak:keycloak-services
> *Expected behaviour:*
>  * The project(s) are loaded in NetBeans without errors
>  * A project using modules of the Keycloak project as dependency loads/builds 
> properly
> *Observed behaviour:*
>  * keycloak-parent loads fine and all its modules are displayed without 
> "unloadable"
>  * keycloak-services has some errors, for example "cannot find symbol" 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory in 
> org.keycloak.connections.httpclient.DefaultHttpClientFactoryTest, even though 
> DefaultHttpClientFactory is present in the same project and package and 
> without error
>  * In a simple, separate project (attached) with a "provided" dependency to 
> keycloak-services, an import of for example 
> org.keycloak.crypto.ES256SignatureProviderFactory fails as well with "cannot 
> find symbol" while some other classes in the same package can be loaded like 
> Aes128CbcHmacSha256ContentEncryptionProviderFactory
> *Workaround:*
>  * Open the class(es) that cannot be found, i.e. 
> org.keycloak.connections.httpclient.DefaultHttpClientFactory
>  * Make a change, some whitespace is enough, save the class (it is now 
> compiled by nb-javac I suppose)
>  => "cannot find symbol" in DefaultHttpClientFactoryTest is gone
>  Doing the same for all other "cannot find symbol" eventually yields the 
> project keycloak-services to be without errors
>  * Same trick does however not work for 
> org.keycloak.crypto.ES256SignatureProviderFactory in the separate project, 
> class opens without error but CTRL+O does not find it



--
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