cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP Status 405 – Method Not Allowed

Former Member
0 Likes
2,176

Hello,

We are migrating form Hybris 6.3 to Hybris 6.7 version. We are using the same database as in previous version. After successful server startup and system update, I am not able to login to the storefront.

Below is the stack trace in console:

     Apr 19, 2018 1:56:36 PM org.apache.catalina.core.ApplicationDispatcher invoke
 SEVERE: Servlet.service() for servlet [DispatcherServlet] threw exception
 java.lang.NullPointerException: Missing extension info for given extension name
         at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:805)
         at com.saintgobain.extranet.storefront.filters.AcceleratorAddOnFilter$DefaultExtensionAccessor.getInfo(AcceleratorAddOnFilter.java:337)
         at com.saintgobain.extranet.storefront.filters.AcceleratorAddOnFilter$DefaultExtensionAccessor.getExtensionDir(AcceleratorAddOnFilter.java:331)
         at com.saintgobain.extranet.storefront.filters.AcceleratorAddOnFilter$ResourceAddOnResolver.getExtensionPath(AcceleratorAddOnFilter.java:142)
         at com.saintgobain.extranet.storefront.filters.AcceleratorAddOnFilter$ExecutableResourceAddOnResolver.getAddOnFullPathName(AcceleratorAddOnFilter.java:196)
         at com.saintgobain.extranet.storefront.filters.AcceleratorAddOnFilter.doFilter(AcceleratorAddOnFilter.java:81)

Also, I get a warning :

 WARN  [hybrisHTTP5] [PageNotFound] **Request method 'POST' not supported**

Anyone have any idea as to what is the issue? Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

We needed to disable CSRF in spring-security-config.xml. We are now able to login to storefront

Former Member
0 Likes

if this happens only after a login redirect, you can try using the invalid-session-url attribute on session-management:

 <security:session-management session-authentication-strategy-ref="fixation" invalid-session-url="/login" />




crescenzorega
Active Participant
0 Likes

It may depend on some un-installed add-ons, it can not find after the migration, maybe you have to reinstall the add-ons you had in the previous version

That error is due to the fact that the post is not implemented in the controller class

Former Member
0 Likes

All previous add-ons have been installed. But still does not work.