You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.IllegalStateException: Not under a public suffix: us-east-1.amazonaws.com
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at com.google.common.net.InternetDomainName.topPrivateDomain(InternetDomainName.java:424)
at *****.main(MyTestJavaClass.java:8> 9)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
The text was updated successfully, but these errors were encountered:
marios-caspida
changed the title
Error while parsing common domains names using InternetDomainName.java
Error while parsing common domain names using InternetDomainName.java
Dec 23, 2014
This is an easy to reproduce bug. Running the following code throws an exception.
The text was updated successfully, but these errors were encountered: