Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9D5418AEB for ; Tue, 9 Jun 2015 18:45:00 +0000 (UTC) Received: (qmail 26761 invoked by uid 500); 9 Jun 2015 18:45:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 26706 invoked by uid 500); 9 Jun 2015 18:45:00 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 26395 invoked by uid 99); 9 Jun 2015 18:45:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 18:45:00 +0000 Date: Tue, 9 Jun 2015 18:45:00 +0000 (UTC) From: "Florian Barca (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-11817) [WinTP2] Adding a view fails on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Florian Barca created AMBARI-11817: -------------------------------------- Summary: [WinTP2] Adding a view fails on Windows Key: AMBARI-11817 URL: https://issues.apache.org/jira/browse/AMBARI-11817 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.1.0 Reporter: Florian Barca Assignee: Florian Barca Priority: Critical Fix For: 2.1.0 Adding a view (ex: files view) is failing on Windows due to "Server Error". Attaching screenshot and ambari-server logs. Exception EclipseLink-4002 (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert the value NULL into column 'alter_names', table 'ambari.dbo.viewinstance'; column does not allow nulls. INSERT fails. Error Code: 515 Call: INSERT INTO viewinstance (view_instance_id, alter_names, cluster_handle, DESCRIPTION, ICON, ICON64, LABEL, name, VISIBLE, xml_driven, view_name, resource_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => 12 parameters bound Query: InsertObjectQuery(org.apache.ambari.server.orm.entities.ViewInstancePropertyEntity@59f4e786) -- This message was sent by Atlassian JIRA (v6.3.4#6332)