WorldWindJava icon indicating copy to clipboard operation
WorldWindJava copied to clipboard

Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ?

Open xiaqia opened this issue 2 years ago • 14 comments

The error is reported below: 严重: Retrieval returned no content for https://worldwind47.arc.nasa.gov/topo?EXCEPTIONS=application/vnd.ogc.se_xml&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0 3月 28, 2022 9:01:32 下午 gov.nasa.worldwind.util.SessionCacheRetrievalPostProcessor run.

How to deal with it? Thank very much for your answer.

xiaqia avatar Mar 28 '22 13:03 xiaqia

me too, have you fixed it?

zli2001 avatar Mar 31 '22 11:03 zli2001

No, I guess if it related with VPN?

------------------ 原始邮件 ------------------ 发件人: "NASAWorldWind/WorldWindJava" @.>; 发送时间: 2022年3月31日(星期四) 晚上7:11 @.>; @.@.>; 主题: Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ? (Issue #244)

me too, have you fixed it?

— Rep回复ly to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you authored the thread.Message ID: @.***>

xiaqia avatar Mar 31 '22 11:03 xiaqia

If you fixed it, can you answer my question here, please?

------------------ 原始邮件 ------------------ 发件人: "NASAWorldWind/WorldWindJava" @.>; 发送时间: 2022年3月31日(星期四) 晚上7:11 @.>; @.@.>; 主题: Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ? (Issue #244)

me too, have you fixed it?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiaqia avatar Mar 31 '22 12:03 xiaqia

Have you tried to reach the URL, it says that it is missing, probably it belongs to some of the "layers" removed?

Il giorno gio 31 mar 2022 alle ore 14:10 xiaqia @.***> ha scritto:

If you fixed it, can you answer my question here, please?

------------------ 原始邮件 ------------------ 发件人: "NASAWorldWind/WorldWindJava" @.>; 发送时间: 2022年3月31日(星期四) 晚上7:11 @.>; @.@.>; 主题: Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ? (Issue #244)

me too, have you fixed it?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084497281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B6J4T7QVR62IBQBFPLVCWIZZANCNFSM5R3DBDOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

quonn77 avatar Mar 31 '22 12:03 quonn77

Have you tried to reach the URL, it says that it is missing, probably it belongs to some of the "layers" removed? Il giorno gio 31 mar 2022 alle ore 14:10 xiaqia @.> ha scritto: If you fixed it, can you answer my question here, please? ------------------ 原始邮件 ------------------ 发件人: "NASAWorldWind/WorldWindJava" @.>; 发送时间: 2022年3月31日(星期四) 晚上7:11 @.>; @.@.>; 主题: Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ? (Issue #244) me too, have you fixed it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub <#244 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B6J4T7QVR62IBQBFPLVCWIZZANCNFSM5R3DBDOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yeah, I reached the URL. May be you are right. I just find the suspected solution in a issue:https://github.com/NASAWorldWind/WorldWindJava/issues/219. But I am a fresh in worldwindjava, I do not know the specific steps to solve it. Can you help me?

xiaqia avatar Mar 31 '22 13:03 xiaqia

The problem has been solved. Thanks for your answer. The solution is as follow: 1.route of issue:https://github.com/NASAWorldWind/WorldWindJava/pull/239 2.solution: download the lateset .zip from https://github.com/NASAWorldWind/WorldWindJava

xiaqia avatar Mar 31 '22 14:03 xiaqia

Assuming you are using a Linux system (maybe I am wrong), if you run the following command under the Nasa World Wind Java code root you will find several files pointing to that layer: find . -name "*.xml" | xargs grep "worldwind47.arc.nasa.gov/topo" | grep -v classes | grep -v GetCapabili | awk -F':' '{print $1}'

On my system those are: ./src/config/Earth/USGSTopoMedResLayer.xml ./src/config/Earth/USGSTopoHighResLayer.xml ./src/config/Earth/USGSTopoLowResLayer.xml

so on the worldwind.layers.xml file under the root of your World Wind Java code you have to remove those 3 lines

As you can see on the commit diff: https://github.com/NASAWorldWind/WorldWindJava/commit/0a54fcfa178655666c74ed8d2b61bc9b2a683799

Regards

P.S. Other layers need to be removed, so if you can go to use Java 11 please upgrade to latest release

Il giorno gio 31 mar 2022 alle ore 15:05 xiaqia @.***> ha scritto:

u

Yeah, I reached the URL. May be you are right. I just find the suspected solution in a issue:#219 https://github.com/NASAWorldWind/WorldWindJava/issues/219. But I am a fresh in worldwindjava, I do not know the specific steps to solve it. Can you help me?

— Reply to this email directly, view it on GitHub https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084551750, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B7HNZ4BGIO3UP2NZ2TVCWPIVANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.***>

quonn77 avatar Mar 31 '22 14:03 quonn77

I was answering while you have found the solutions ;-). Yes this is the way to go if you can use at least java 11. I cannot upgrade to newer jdk so I am forced to use old one...with some little customization (I can allow also to disable "external" networking allowing to download data from internal TileServer, and other little change that I hope as soon as possible to pull back to main code. )

Il giorno gio 31 mar 2022 alle ore 16:46 xiaqia @.***> ha scritto:

The problem has been solved. Thanks for your answer. The solution is as follow: 1.route of issue:#239 https://github.com/NASAWorldWind/WorldWindJava/pull/239 2.solution: download the lateset .zip from https://github.com/NASAWorldWind/WorldWindJava

— Reply to this email directly, view it on GitHub https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084684970, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B56VN2WHOXDM4HC2N3VCW3DZANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.***>

quonn77 avatar Mar 31 '22 14:03 quonn77

I am sorry for that. I am very very grateful for your help. You are a good man.

xiaqia avatar Mar 31 '22 14:03 xiaqia

No worries, It's a pleasure.

Il giorno gio 31 mar 2022 alle ore 16:58 xiaqia @.***> ha scritto:

I am sorry for that. I am very very grateful for your help. You are a good man.

— Reply to this email directly, view it on GitHub https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084709727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B623HYQQ5NR4SGYGDTVCW4R7ANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.***>

quonn77 avatar Mar 31 '22 15:03 quonn77

No worries, It's a pleasure. Il giorno gio 31 mar 2022 alle ore 16:58 xiaqia @.> ha scritto: I am sorry for that. I am very very grateful for your help. You are a good man. — Reply to this email directly, view it on GitHub <#244 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B623HYQQ5NR4SGYGDTVCW4R7ANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.>

Unfortunately, the eclipse report a new issue just now. It bothers me. ask you again, and I am looking forward for your reply in your free time. The error is reported below: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 1 at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:171) at com.jogamp.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:424) at com.jogamp.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1513) at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:609) at java.desktop/java.awt.Container.addNotify(Container.java:2804) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4839) at java.desktop/java.awt.Container.addNotify(Container.java:2804) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4839) at java.desktop/java.awt.Container.addNotify(Container.java:2804) at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4839) at java.desktop/javax.swing.JRootPane.addNotify(JRootPane.java:729) at java.desktop/java.awt.Container.addNotify(Container.java:2804) at java.desktop/java.awt.Window.addNotify(Window.java:791) at java.desktop/java.awt.Frame.addNotify(Frame.java:495) at java.desktop/java.awt.Window.show(Window.java:1053) at java.desktop/java.awt.Component.show(Component.java:1728) at java.desktop/java.awt.Component.setVisible(Component.java:1675) at java.desktop/java.awt.Window.setVisible(Window.java:1036) at waterlevel$ww.main(waterlevel.java:31)

other informations: Window10, Ecplise, java11.

xiaqia avatar Mar 31 '22 15:03 xiaqia

No worries, It's a pleasure. Il giorno gio 31 mar 2022 alle ore 16:58 xiaqia @.> ha scritto: I am sorry for that. I am very very grateful for your help. You are a good man. — Reply to this email directly, view it on GitHub <#244 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B623HYQQ5NR4SGYGDTVCW4R7ANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.>

If you do not mind, can you send your contact information to my email:[email protected]. I want to learn more worldwindjava for my reseach.

xiaqia avatar Mar 31 '22 15:03 xiaqia

I will send you my contact privately, however I don't have a Windows machine at the moment to try to replicate it, let me know which example you are trying to run. The stack strace let me think however that this is some issue with the graphics card. Do you have an OpenGL compatible card? Let me know

Il giorno gio 31 mar 2022 alle ore 17:26 xiaqia @.***> ha scritto:

No worries, It's a pleasure. Il giorno gio 31 mar 2022 alle ore 16:58 xiaqia @.

> ha scritto: … <#m_4541883039812852924_> I am sorry for that. I am very very grateful for your help. You are a good man. — Reply to this email directly, view it on GitHub <#244 (comment) https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084709727>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B623HYQQ5NR4SGYGDTVCW4R7ANCNFSM5R3DBDOQ https://github.com/notifications/unsubscribe-auth/ACLC3B623HYQQ5NR4SGYGDTVCW4R7ANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.>

If you do not mind, can you send your contact information to my email: @.*** I want to learn more worldwindjava for my reseach.

— Reply to this email directly, view it on GitHub https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084745281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLC3B7F42OCVANNMOPJ4T3VCW7YXANCNFSM5R3DBDOQ . You are receiving this because you commented.Message ID: @.***>

quonn77 avatar Mar 31 '22 15:03 quonn77

Yeah, I reached the URL. May be you are right. I just find the suspected solution in a issue:https://github.com/NASAWorldWind/WorldWindJava/issues/219. But I am a fresh, I do not know the specific steps to solve it. Can you help me? ------------------ 原始邮件 ------------------ 发件人: "NASAWorldWind/WorldWindJava" @.>; 发送时间: 2022年3月31日(星期四) 晚上8:15 @.>; @.@.>; 主题: Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map servers after changing the worldwindjava2.1.0 ? (Issue #244)

Have you tried to reach the URL, it says that it is missing, probably it belongs to some of the "layers" removed?

Il giorno gio 31 mar 2022 alle ore 14:10 xiaqia @.***> ha scritto:

> If you fixed it, can you answer my question here, please? > > > > > ------------------&nbsp;原始邮件&nbsp;------------------ > 发件人: "NASAWorldWind/WorldWindJava" @.&gt;; > 发送时间:&nbsp;2022年3月31日(星期四) 晚上7:11 > @.&gt;; > @.@.&gt;; > 主题:&nbsp;Re: [NASAWorldWind/WorldWindJava] Why can not visit WorldWind map > servers after changing the worldwindjava2.1.0 ? (Issue #244) > > > > > > > me too, have you fixed it? > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you authored the thread.Message ID: > @.&gt; > > — > Reply to this email directly, view it on GitHub > <https://github.com/NASAWorldWind/WorldWindJava/issues/244#issuecomment-1084497281>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACLC3B6J4T7QVR62IBQBFPLVCWIZZANCNFSM5R3DBDOQ> > . > You are receiving this because you are subscribed to this thread.Message > ID: @.> >

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiaqia avatar Oct 11 '22 08:10 xiaqia